This release is a pre-release and may not be stable for production use.
OSMnet
Tools for the extraction of OpenStreetMap (OSM) street network data. Intended to be used in tandem with Pandana and UrbanAccess libraries to extract street network nodes and edges.
Project scope and status
Status: Deprecated / Migration
Mission: OSMnet provides the legacy OpenStreetMap network-acquisition functionality used by existing Pandana and UrbanAccess workflows while those projects migrate to maintained OSM libraries.
The project is retained to support:
existing Pandana and UrbanAccess integrations;
compatibility needed during the migration period;
documentation of established OSMnet workflows; and
orderly transition of downstream users.
New applications should use actively maintained OSM libraries such as OSMnx or Pyrosm for OpenStreetMap network acquisition.
OSMnet will be archived after dependent UDST projects no longer require it. Development during the migration period is limited primarily to critical compatibility and migration support.
See the UDST Project Directory for organization-wide project status and policy.
Overview
OSMnet offers tools to download street network data from OpenStreetMap and extract a graph network comprised of nodes and edges to be used in Pandana street network accessibility calculations and or UrbanAccess to connect GTFS transit networks to road networks.
Let us know what you are working on or if you think you have a great use case by tweeting us at @urbansim.
Library Status
Forthcoming improvements:
Tutorial/demo
Reporting bugs
Please report any bugs you encounter via GitHub issues.
Contributing to OSMnet
If you have improvements or new features you would like to see in OSMnet:
Open a feature request via GitHub issues.
Contribute your code from a fork or branch by using a Pull Request and request a review so it can be considered as an addition to the codebase.
Installation
conda
OSMnet is available on conda and can be installed with:
conda install osmnet --channel conda-forge
It is recommended to install via conda and the conda-forge channel especially if you find you are having issues installing some of the spatial dependencies.
pip
OSMnet can be installed via PyPI:
pip install osmnet
Development Installation
To install OSMnet from source code, follow these steps:
Git clone the OSMnet repo
in the cloned directory run: pip install -e .
To update to the latest version:
Use git pull inside the cloned repository
Documentation
Documentation for OSMnet can be found here.
Metadata
Release files for osmnet 0.2rc1
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 |
|---|---|---|---|---|
| osmnet-0.2rc1.tar.gz | 64.0 kB | With provenance | Details for osmnet-0.2rc1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| osmnet-0.2rc1-py3-none-any.whl | Python 3 | none | any | Details for osmnet-0.2rc1-py3-none-any.whl |
Total release size: 91.9 kB
Release files / osmnet-0.2rc1.tar.gz
| Download URL | osmnet-0.2rc1.tar.gz |
|---|---|
| Size | 64.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3797fe228786fdb52a559e866028d2dfc1571aaaef66335a507b3d2e45aa1f5
|
|
BLAKE2b-256 checksum How to use checksums |
8efe3cc480f69c152712a1c5b4f4d6a65dbc2ec1c1448858499f7afc7b445452
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logRelease files / osmnet-0.2rc1-py3-none-any.whl
| Download URL | osmnet-0.2rc1-py3-none-any.whl |
|---|---|
| Size | 28.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
67a7ab434c244cc64234018cd447d5294bc751bf9c79083f852e89251a098496
|
|
BLAKE2b-256 checksum How to use checksums |
ea46011157386294f112b401de801bbd18db028fbf75cf33f20129746a4b08da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logSecurity for osmnet 0.2rc1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for osmnet-0.2rc1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logA 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.