opentrafficsim
This package provides opentrafficsim (OTS) so that it can be integrated into python porjects.
Installation
Install from PyPi:
$ pip install opentrafficsim
Note: You cannot use this package as a git dependency, because OTS must be built before packaging and poetry is currently not able to do this.
Usage
The following code, will make OTS available to your python program:
import opentrafficsim
This will populate the OTS_HOME and OTS_VERSION environment variables accordingly. OTS_HOME follows the layout of the opentrafficsim repo. So you will find the distribution JAR under $OTS_HOME/ots-distribution/target/ots-distribution-$OTS_VERSION.jar.
Update
- Update the git submodule to the new version
- Install dev dependencies:
poetry install --with dev - Bump to new version
poetry run bump-my-version <patch|minior|major(choose the appropriate version upgrade) - push to repo and publish through pipeline
Metadata
Release files for opentrafficsim 1.7.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| opentrafficsim-1.7.5.tar.gz | 13.8 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opentrafficsim-1.7.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.7 MB
Release files / opentrafficsim-1.7.5.tar.gz
| Download URL | opentrafficsim-1.7.5.tar.gz |
|---|---|
| Size | 13.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4abcee60fc90105fcbe90c6c9a62b092391cb1b15c5c62da694528a952f76e03
|
|
BLAKE2b-256 checksum How to use checksums |
7c8ed0c8a53ed6f38908a15171acdd090ae03596a2cb9fa31e18b486b612365a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.9.23 Linux/5.15.0-87-generic
|
Release files / opentrafficsim-1.7.5-py3-none-any.whl
| Download URL | opentrafficsim-1.7.5-py3-none-any.whl |
|---|---|
| Size | 13.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5647d91ed75499cee25f1b9d6610ed6645ae0a2c1f209e5487df3365dee1a85b
|
|
BLAKE2b-256 checksum How to use checksums |
24de8268b169fa0f092c4b3468a829dcd302334b5fea82384110b32d90c4568b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.9.23 Linux/5.15.0-87-generic
|