sumo-tasks-pipeline
Run SUMO simulators as easy as possible!
The package sumo-tasks-pipeline enables you to run a traffic simulator SUMO efficiently
and to interact with Python easily.
Example
Just three lines to run a SUMO simulation.
from sumo_tasks_pipeline import LocalSumoController, SumoConfigObject
from pathlib import Path
path_config = Path().cwd().joinpath('tests/resources/config_complete')
sumo_controller = LocalSumoController(sumo_command='/usr/local/bin/sumo')
sumo_config = SumoConfigObject(scenario_name='example', path_config_dir=path_config, config_name='grid.sumo.cfg')
sumo_result_obj = sumo_controller.start_job(sumo_config)
See examples directory to know more.
Features
- Possible to resume your tasks. The feature is useful when you run simulators on Google Colab.
- Possible to save SUMO simulation result to Google Cloud Storage (GCS). No worries even when your local storage is small.
- Possible to run SUMO simulations with multiple machines if you use GCS as the storage backend.
Requirement
- python > 3.5
- docker
- docker-compose
Install
Pull the image (or build of a docker image with SUMO)
The existing image is on the Dockerhub.
docker pull kensukemi/sumo-ubuntu18
If you prefer to build with yourself, you run the following command.
docker-compose build
Install a python package
make install
For developer
pytest tests
license and credit
The source code is licensed MIT. The website content is licensed CC BY 4.0.
@misc{sumo-docker-pipeline,
author = {Kensuke Mitsuzawa},
title = {sumo-tasks-pipeline},
year = {2021},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/Kensuke-Mitsuzawa/sumo_docker_pipeline}},
}
Metadata
Release files for sumo-tasks-pipeline 4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| sumo-tasks-pipeline-4.0.tar.gz | 15.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sumo_tasks_pipeline-4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.2 kB
Release files / sumo-tasks-pipeline-4.0.tar.gz
| Download URL | sumo-tasks-pipeline-4.0.tar.gz |
|---|---|
| Size | 15.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5597e5294481e4fb247c672cd83a0c861052496aaddecc4c0d1e375bf34bd39
|
|
BLAKE2b-256 checksum How to use checksums |
9f81dd192519d2e0611b260bb9e5827b355c175ce795975b344b9b26c083fcc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.8.8 Linux/5.4.0-92-generic
|
Release files / sumo_tasks_pipeline-4.0-py3-none-any.whl
| Download URL | sumo_tasks_pipeline-4.0-py3-none-any.whl |
|---|---|
| Size | 21.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a75f9b669797f70b7193b61102f306cf9b413f68088e1bb945d1a6c58cbe1c1b
|
|
BLAKE2b-256 checksum How to use checksums |
594d6622209fdc3f7304cfa96797a6f28c439f2b752459da06ec6fc0d355f3e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.8.8 Linux/5.4.0-92-generic
|
Security for sumo-tasks-pipeline 4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.