Skip to main content

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.29.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sumolib 1.29.0
File Size Uploaded Provenance Actions
sumolib-1.29.0.tar.gz 144.0 kB Without provenance Details for sumolib-1.29.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sumolib 1.29.0
File Interpreter ABI Platform Actions
sumolib-1.29.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for sumolib-1.29.0-py2.py3-none-any.whl

Total release size: 381.8 kB

Release files / sumolib-1.29.0.tar.gz

Download URL sumolib-1.29.0.tar.gz
Size 144.0 kB
Tags Source
SHA-256 checksum
How to use checksums
59ac6b2817082a6d20ee6a967664aef6c71af982f2ed67d3ed66ae2315e4ffb6
BLAKE2b-256 checksum
How to use checksums
2ed2cf9a29bf44b1b6ab34100228a556030ed12cc106adef3576e06c4984de15
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.29.0-py2.py3-none-any.whl

Download URL sumolib-1.29.0-py2.py3-none-any.whl
Size 237.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
3c450f37fcf60c43ebae85d598a6c8ab5a0cbc546b3676a0d97f0cfff44c0b2b
BLAKE2b-256 checksum
How to use checksums
1da7a8d1442eb2c1942498b3be5b0b41ac8f20337171f35cd40850043bdee524
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.29.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page