No project description provided
Project description
Traffic scene renderer
This traffic scene renderer enables drawing top-view overviews of traffic constellations.
This drawings can be printed on screen using matplotlib and exported to images or tikz files that can be rendered with LaTeX to create vector-based drawings of the traffic scenes.
Installation
Installation can be done using pip. Simply run
pip install traffic-scene-renderer
Usage
Development
Yes, you can help! Follow the steps below to contribute to this package:
- Download the git repository, e.g., using
git clone git@github.com:ErwindeGelder/TrafficSceneRenderer.git - Create a virtual environment, e.g., using
python -m venv venv - Activate the virtual environment (e.g., on Windows,
venv\Scripts\activate.bat) - Install the necessary libraries using
pip install -e .[dev] - The
mainbranch is protected, meaning that you cannot directly push changes to this branch. Therefore, if you want to make changes, do so in a seperate branch. For example, you can create a new branch usinggit checkout -b feature/my_awesome_new_feature. - Before pushing changes, ensure that the code adheres to the linting rules and that the tests are successful.
To run the linting and testing,
toxfirst needs to know where it can find the different Python versions that are supported. One way to do so is by making use ofpyenvor pyenv-win. Note that you only need to do this once for a single machine. - Run
tox run -e lint. If issues arise, fix them. You can do the linting commands manually using:ruff format . --check(remove the--checkflag to letruffdo the formatting)ruff check .mypy .
- Run
tox run -f test - Check if the tests covered everything using the coverage report in
/reports/coverage_html/index.html - Push changes to GitHub. If everything is OK and you want to merge your changes to the
mainbranch, create a pull request. Ideally, there is at least one reviewer who reviews the pull request before the merge.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file traffic_scene_renderer-1.1.tar.gz.
File metadata
- Download URL: traffic_scene_renderer-1.1.tar.gz
- Upload date:
- Size: 56.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed74b657300040934c457c47b003d9a6441b1644c5706de8e125928c54589b7d
|
|
| MD5 |
a353e5906ad8270bc307015916d6a327
|
|
| BLAKE2b-256 |
bd86f111449bdcb5805c1b1d98aefe334dee75fa6ad8e75ab8337711c5a1055f
|
Provenance
The following attestation bundles were made for traffic_scene_renderer-1.1.tar.gz:
Publisher:
publish-to-pypi.yaml on ErwindeGelder/TrafficSceneRenderer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
traffic_scene_renderer-1.1.tar.gz -
Subject digest:
ed74b657300040934c457c47b003d9a6441b1644c5706de8e125928c54589b7d - Sigstore transparency entry: 199357987
- Sigstore integration time:
-
Permalink:
ErwindeGelder/TrafficSceneRenderer@74e116308f205254e61ce1dda0a83066ba8ccf7c -
Branch / Tag:
refs/tags/v1.1 - Owner: https://github.com/ErwindeGelder
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yaml@74e116308f205254e61ce1dda0a83066ba8ccf7c -
Trigger Event:
release
-
Statement type:
File details
Details for the file traffic_scene_renderer-1.1-py3-none-any.whl.
File metadata
- Download URL: traffic_scene_renderer-1.1-py3-none-any.whl
- Upload date:
- Size: 55.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b504ad883d0fdc63732104d912c9a182bec55a46b8444cd90bdbbf66b8099b3
|
|
| MD5 |
f2a00a848644e37b716ae7c379208bf5
|
|
| BLAKE2b-256 |
5f02e944b762eff97b05940bb6d83a373bff03ff476bde73b7e9651a9a95a2d5
|
Provenance
The following attestation bundles were made for traffic_scene_renderer-1.1-py3-none-any.whl:
Publisher:
publish-to-pypi.yaml on ErwindeGelder/TrafficSceneRenderer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
traffic_scene_renderer-1.1-py3-none-any.whl -
Subject digest:
6b504ad883d0fdc63732104d912c9a182bec55a46b8444cd90bdbbf66b8099b3 - Sigstore transparency entry: 199357988
- Sigstore integration time:
-
Permalink:
ErwindeGelder/TrafficSceneRenderer@74e116308f205254e61ce1dda0a83066ba8ccf7c -
Branch / Tag:
refs/tags/v1.1 - Owner: https://github.com/ErwindeGelder
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yaml@74e116308f205254e61ce1dda0a83066ba8ccf7c -
Trigger Event:
release
-
Statement type: