OSMnx
OSMnx is a Python package to easily download, model, analyze, and visualize street networks and other geospatial features from OpenStreetMap. You can download and model walking, driving, or biking networks with a single line of code then analyze and visualize them. You can just as easily work with urban amenities/points of interest, building footprints, transit stops, elevation data, street orientations, speed/travel time, and routing.
Citation
If you use OSMnx in your work, please cite the paper:
Boeing, G. (2025). Modeling and Analyzing Urban Networks and Amenities with OSMnx. Geographical Analysis 57 (4), 567-577. doi:10.1111/gean.70009
Getting Started
First read the Getting Started guide for an introduction to the package and FAQ.
Then work through the Examples Gallery for step-by-step tutorials and sample code.
Installation
Follow the Installation guide to install OSMnx.
Support
If you have any trouble, consult the User Reference. The OSMnx repository is hosted on GitHub. If you have a "how-to" or usage question, please ask it on StackOverflow, as we reserve the repository's issue tracker for bug tracking and feature development.
License
OSMnx is open source and licensed under the MIT license. OpenStreetMap's open data license requires that derivative works provide proper attribution. Refer to the Getting Started guide for usage limitations.
Release files for osmnx 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| osmnx-2.1.1.tar.gz | 90.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| osmnx-2.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 195.1 kB
Release files / osmnx-2.1.1.tar.gz
| Download URL | osmnx-2.1.1.tar.gz |
|---|---|
| Size | 90.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0785166487d4d8da5a551dac3d1562fe114fb39f3bf66f261c8b4d60baee9295
|
|
BLAKE2b-256 checksum How to use checksums |
0c6d42279fb31b09f0532ec4de90604ee8078adad66b89865887cdf014f651f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
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 Jul 21, 2026.
Transparency logRelease files / osmnx-2.1.1-py3-none-any.whl
| Download URL | osmnx-2.1.1-py3-none-any.whl |
|---|---|
| Size | 104.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6680c98312a8c327dea01da8ec59328bf1d7b0e0cab42db6ce500d0cb83b87e5
|
|
BLAKE2b-256 checksum How to use checksums |
ed08450c5c707493cf3a1da91050cf6b9b92e5279676f28e85d85b81d9e46f85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
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 Jul 21, 2026.
Transparency log