sumolib


Namesumolib JSON
Version 1.22.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_time2025-02-05 09:26:35
maintainerNone
docs_urlNone
authorDLR and contributors
requires_pythonNone
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": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "traffic simulation traci sumo",
    "author": "DLR and contributors",
    "author_email": "sumo@dlr.de",
    "download_url": "https://files.pythonhosted.org/packages/d7/6f/efae14870acce20d7cab4171fde1378a1df3d8379307e02b4dde4a6922db/sumolib-1.22.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.22.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": "6abf686c7577d9baaaec105ed75e7a245b79c7640cef570075f643a64dd80ae6",
                "md5": "e12b44d8d5d80a88684d63bddadb0954",
                "sha256": "22a1b0ecdaf2fa6a99df8ce0dfff50fbe56fd571002db70f5d2a1feb6b8a6d2c"
            },
            "downloads": -1,
            "filename": "sumolib-1.22.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e12b44d8d5d80a88684d63bddadb0954",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 150909,
            "upload_time": "2025-02-05T09:26:31",
            "upload_time_iso_8601": "2025-02-05T09:26:31.484725Z",
            "url": "https://files.pythonhosted.org/packages/6a/bf/686c7577d9baaaec105ed75e7a245b79c7640cef570075f643a64dd80ae6/sumolib-1.22.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d76fefae14870acce20d7cab4171fde1378a1df3d8379307e02b4dde4a6922db",
                "md5": "f63fe4cbe57f00c398425bf671c8f4c9",
                "sha256": "55f5578bea6c9dd960790f8e89c87913f23514111472feac1d747bd0d891013e"
            },
            "downloads": -1,
            "filename": "sumolib-1.22.0.tar.gz",
            "has_sig": false,
            "md5_digest": "f63fe4cbe57f00c398425bf671c8f4c9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 93643,
            "upload_time": "2025-02-05T09:26:35",
            "upload_time_iso_8601": "2025-02-05T09:26:35.191089Z",
            "url": "https://files.pythonhosted.org/packages/d7/6f/efae14870acce20d7cab4171fde1378a1df3d8379307e02b4dde4a6922db/sumolib-1.22.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-05 09:26:35",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "sumolib"
}
        
Elapsed time: 0.66722s