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

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.27.1
File Size Uploaded
sumolib-1.27.1.tar.gz 142.1 kB Details

Built distribution (wheel)

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

Total release size: 378.3 kB

Release files / sumolib-1.27.1.tar.gz

Download URL sumolib-1.27.1.tar.gz
Size 142.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0ceaeeb5c9913d8e38e998263e33702c1ed43829d9f961bb3a591d94fbe87018
BLAKE2b-256 checksum
How to use checksums
929efc02e2202b93ecfa3559afa972a5ac50c644a50c51412bdb52f9f76e279e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / sumolib-1.27.1-py2.py3-none-any.whl

Download URL sumolib-1.27.1-py2.py3-none-any.whl
Size 236.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
2cc63e75de8db9219ab1a742a4f8870d1d2199881dcc006a0afbcdbb1e463796
BLAKE2b-256 checksum
How to use checksums
671f216675079166eec8ae21b22db31e35d524799d26df1eadcc8746053586ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.27.1 This release

2 release files

1.27.0

2 release files

1.26.0

2 release files

1.25.0

1 release file

1.24.0

1 release file

1.23.1

1 release file

1.23.0

1 release file

1.18.0

2 release files

1.17.0

1 release file

1.16.0

1 release file

1.15.0

1 release file

1.14.1

1 release file

1.14.0

1 release file

1.13.0

1 release file

1.12.0

1 release file

1.11.0

1 release file

1.10.0

1 release file

1.9.2

1 release file

1.9.1

1 release file

1.9.0

1 release file

1.8.0

1 release file

1.6.0

2 release files

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