sumolib
sumolib is a set of python modules for working with SUMO networks, simulation output and other simulation artifacts.
Installation
Install sumolib by simply executing:
pip install sumolib
A daily version is also available in TestPyPI:
pip install -i https://test.pypi.org/simple/ sumolib
Getting Started
To use sumolib in your Python code, import the sumolib module. The following code snippet shows a basic example
of how to load a network file and retrieve the coordinate of a node:
import sumolib
# Parse the network
net = sumolib.net.readNet("myNet.net.xml")
# Retrieve the coordinate of a node based on its ID
print(net.getNode("myNodeID").getCoord())
Documentation
The sumolib documentation is available online at https://sumo.dlr.de/docs/Tools/Sumolib.html. For a list of available functions take a look at the pydoc generated documentation or simply browse the source code here.
Contributing
If you find a bug in sumolib or have a suggestion for a new feature, please report it on the SUMO issue tracker at https://github.com/eclipse-sumo/sumo/issues. If you would like to contribute code to sumolib, please submit a pull request to the SUMO repository at https://github.com/eclipse-sumo/sumo.
License
sumolib is released under the Eclipse Public License 2.0 (EPL-2.0).
Metadata
Release files for sumolib 1.28.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 | Actions |
|---|---|---|---|---|
| sumolib-1.28.0.tar.gz | 142.4 kB | Without provenance | Details for sumolib-1.28.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sumolib-1.28.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for sumolib-1.28.0-py2.py3-none-any.whl |
Total release size: 378.8 kB
Release files / sumolib-1.28.0.tar.gz
| Download URL | sumolib-1.28.0.tar.gz |
|---|---|
| Size | 142.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8547d6c699a9a97c00a539869f58676f7d8c70afa06a965b4af7f8a870739177
|
|
BLAKE2b-256 checksum How to use checksums |
120687b2ece00c650531e3f776a809982e488a8f6a4dd109d7e810381c5d1583
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / sumolib-1.28.0-py2.py3-none-any.whl
| Download URL | sumolib-1.28.0-py2.py3-none-any.whl |
|---|---|
| Size | 236.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
eda134defdcc39b966756cc00828ecbabfc35e0631326971f2fe1dea8acd9239
|
|
BLAKE2b-256 checksum How to use checksums |
973cbb2ba08247793748be59bf93759d1452ed1201e6f143dc98fc51511c87d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for sumolib 1.28.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.