sumolib


Namesumolib JSON
Version 1.19.0 PyPI version JSON
download
home_pagehttps://sumo.dlr.de/docs/Tools/Sumolib.html
SummaryPython helper modules to read networks, parse output data and do other useful stuff related to the traffic simulation Eclipse SUMO
upload_time2023-11-06 22:17:05
maintainer
docs_urlNone
authorDLR and contributors
requires_python
licenseEPL-2.0
keywords traffic simulation traci sumo
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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](https://test.pypi.org/project/sumolib/) 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:

```python
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](https://sumo.dlr.de/docs/Tools/Sumolib.html). For a list of available
functions take a look at the [pydoc generated documentation](http://sumo.dlr.de/pydoc/sumolib.html)
or simply browse the [source code here](https://github.com/eclipse/sumo/tree/main/tools/sumolib).


## 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/issues](https://github.com/eclipse/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](https://github.com/eclipse/sumo).

## License

sumolib is released under the Eclipse Public License 2.0 (EPL-2.0).

            

Raw data

            {
    "_id": null,
    "home_page": "https://sumo.dlr.de/docs/Tools/Sumolib.html",
    "name": "sumolib",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "traffic simulation traci sumo",
    "author": "DLR and contributors",
    "author_email": "sumo@dlr.de",
    "download_url": "https://files.pythonhosted.org/packages/05/68/728d3f19538a6e254511f058e7350d8214973b91653f8f8a54b25cbdc2d0/sumolib-1.19.0.tar.gz",
    "platform": null,
    "description": "# sumolib\n\nsumolib is a set of python modules for working with SUMO networks, simulation output and other simulation artifacts.\n\n## Installation\n\nInstall sumolib by simply executing:\n```pip install sumolib```\n\nA [daily version](https://test.pypi.org/project/sumolib/) is also available in TestPyPI:\n```pip install -i https://test.pypi.org/simple/ sumolib```\n\n## Getting Started\n\nTo use sumolib in your Python code, import the `sumolib` module. The following code snippet shows a basic example\nof how to load a network file and retrieve the coordinate of a node:\n\n```python\nimport sumolib\n\n# Parse the network\nnet = sumolib.net.readNet(\"myNet.net.xml\")\n\n# Retrieve the coordinate of a node based on its ID\nprint(net.getNode(\"myNodeID\").getCoord())\n```\n\n## Documentation\n\nThe sumolib documentation is available online at\n[https://sumo.dlr.de/docs/Tools/Sumolib.html](https://sumo.dlr.de/docs/Tools/Sumolib.html). For a list of available\nfunctions take a look at the [pydoc generated documentation](http://sumo.dlr.de/pydoc/sumolib.html)\nor simply browse the [source code here](https://github.com/eclipse/sumo/tree/main/tools/sumolib).\n\n\n## Contributing\n\nIf you find a bug in sumolib or have a suggestion for a new feature, please report it on the SUMO issue tracker at\n[https://github.com/eclipse/sumo/issues](https://github.com/eclipse/sumo/issues). If you would like to contribute code\nto sumolib, please submit a pull request to the SUMO repository at\n[https://github.com/eclipse/sumo](https://github.com/eclipse/sumo).\n\n## License\n\nsumolib is released under the Eclipse Public License 2.0 (EPL-2.0).\n",
    "bugtrack_url": null,
    "license": "EPL-2.0",
    "summary": "Python helper modules to read networks, parse output data and do other useful stuff related to the traffic simulation Eclipse SUMO",
    "version": "1.19.0",
    "project_urls": {
        "Download": "https://sumo.dlr.de/download",
        "Homepage": "https://sumo.dlr.de/docs/Tools/Sumolib.html"
    },
    "split_keywords": [
        "traffic",
        "simulation",
        "traci",
        "sumo"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "932cdf022e5bf14b030060ed11e1dc1c15cebc44b04af0eb9e77fe84aec27dfd",
                "md5": "71c612705edc56d2ab0d5387845b1065",
                "sha256": "e374a1b756c25b740081f470e4133c754e5d7238359a09880e3547599d2e8aa5"
            },
            "downloads": -1,
            "filename": "sumolib-1.19.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "71c612705edc56d2ab0d5387845b1065",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 148767,
            "upload_time": "2023-11-06T22:17:01",
            "upload_time_iso_8601": "2023-11-06T22:17:01.912303Z",
            "url": "https://files.pythonhosted.org/packages/93/2c/df022e5bf14b030060ed11e1dc1c15cebc44b04af0eb9e77fe84aec27dfd/sumolib-1.19.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0568728d3f19538a6e254511f058e7350d8214973b91653f8f8a54b25cbdc2d0",
                "md5": "6115df5bcd2fad44b505610029a0fb38",
                "sha256": "c093fc430415d97d43462e60e9d13653b4f58207e6ee9e9bc110222811948568"
            },
            "downloads": -1,
            "filename": "sumolib-1.19.0.tar.gz",
            "has_sig": false,
            "md5_digest": "6115df5bcd2fad44b505610029a0fb38",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 91748,
            "upload_time": "2023-11-06T22:17:05",
            "upload_time_iso_8601": "2023-11-06T22:17:05.083648Z",
            "url": "https://files.pythonhosted.org/packages/05/68/728d3f19538a6e254511f058e7350d8214973b91653f8f8a54b25cbdc2d0/sumolib-1.19.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-06 22:17:05",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "sumolib"
}
        
Elapsed time: 0.16946s