semvec/pypi-packages huggingface dataset:
interactionviz 0.3.0
Pure Python viewer / renderer / visualizer and loader for the INTERACTION dataset
Requires Python: >=3.7.5,<4.0.0

# Interaction Viz.

A no-nonsense, pure Python, renderer / visualizer and loader for the [INTERACTION](http://interaction-dataset.com/) dataset.

![Demo](https://raw.githubusercontent.com/rosshemsley/interactionviz/master/demo/output.gif)


## Quickstart
If you have Python >= 3.7.5, just use
```
$ pip install interactionviz
```
(probably it's best to run this inside of an activated `virtualenv` of some kind)

To view a scene, you can use
```
$ interactionviz --root-dir </root/of/interaction/dataset> --dataset DR_USA_Intersection_EP0 --session 1
```
This will open the experimental web viewer.

If you have an older version of Python, you can use `pyenv` to install a more recent version.

### 🧪 Experimental Feature: 3D Web viewer
An experimental feature is provided to support rendering the tracks in a webviewer using THREE.js.
To try this out, run the following command and navigate to `http://localhost:8000/viewer`.
```
$ interactionviz --viewer-kind web --root-dir </root/of/interaction/dataset>
```

## Rendering gifs
When using the interaction dataset for training models, it's useful to be able to write gifs, which may
be logged to Tensorboard. See the built-in function `write_gif`, to render gifs directly.

## Using this as a library
The code is modular and easy to extend. Beware this is an early version and the API
might change unexpectedly in future versions.

Here's an example of importing and using this viewer in your own code.

```python
from interactionviz.maps import load_map_xml
from interactionviz.tracks import load_tracks_files
from interactionviz.viewers import ArcadeViewer
# Note: You can use the following to render in 3D in a web browser,
#   from interactionviz.viewers import WebViewer

interaction_map = load_map_xml("<path/to/map.osm_xy>")
tracks = load_tracks_files("<path/to/vehicle_tracks_000.csv>")
viewer = ArcadeViewer(interaction_map, tracks)

viewer.run()
```
beginner-web 0.0.2
Python package to let beginners in Python have their website more easily.

beginner-web is a branch package of Python package beginner, which contains a module. This module is used to help Python beginners build a website server conveniently and in a single file. With the support of this module, you can even build a perfect server in the command line, which can contain web applications, static resources, URL routing and multilingual
The underlying implementation of the package relies on the support of the third-party module Django, so you must download the dependent package Django before using this package. Of course, if you download with the new version of PIP, Django will be automatically downloaded when you download this package.
The biggest benefit of this package is that it integrates a class (server class) with a complete operating method. You can call the method of class to perform various operations by creating only one instance of the class.
beginner 0.0.5
Python package to let beginners in Python studies more easily.

Package "beginner" is a handy code package for Beginners in Python. This package includes code to handle a variety of complex tasks, using which you can easily and quickly achieve your programming goals in Python. Typically, with the code implementation in this package, all you need to do is create an instance of the corresponding class, and then you'll be able to use the class's methods or properties to do the corresponding action. Of course, some common actions (such as visiting a web site with a specified URL) are encapsulated in a specific function that returns an instance of the web server). We think this package may be of great convenience to some Beginners in Python. We welcome programmers to improve on this code package (you can send comments to the source of this code package), so we've created some base classes that you can customize to meet more requirements and inherit from. According to the open source protocol of the code package, you are free to use this code package. Below, we will outline the main contents of the current version of this code package and the update plan for subsequent versions. Module 01 | coder.string Before you do that, you need to know how to use modules. You can import modules through the "import" statement, which is described in detail on many sources. If you're an experienced Python programmer, you know that to search out all the substrings in the parent string, you need to use the "re" module. However, the "re" module is too difficult for beginners, so we've encapsulated the find_all function (although its underlying implementation still relies on the "re" module, it works better). Similarly, we encapsulate a number of functions for the string aspect (most of whose return values are container objects). As mentioned above, you can give us feedback on module problems.
Note: DEBUG on November 21st, 2020, version 0.0.2.