The Python package bikenetlib is BikeNetKit's Python core utility package. It offers general utilities for working with bicycle networks, which also forms the core of many upstream packages
in the BikeNetKit family, like GrowBikeNet, FixBikeNet, or LinkBikeNet.
Caution
BikeNetLib is currently in Alpha: It is under heavy development and not stable enough to use yet, likely to contain breaking bugs. Breaking changes may be added anytime.
BikeNetLib is imported as bnl. There are several building blocks:
bnl.io– Input and outputbnl.osm– OpenStreetMap constantsbnl.utils– Utilitiesbnl.viz– Visualization
BikeNetLib mainly builds on OSMnx and GeoPandas.
The recommended way to install BikeNetLib is using conda:
conda install bikenetlib
For more installation options, see our Installation docs.
We provide a minimum working example:
- Jupyter notebook (examples/mwe.ipynb)
For a walkthrough with illustrative examples, see our Usage docs.
Find more information in our docs: https://docs.bikenetkit.org/BikeNetLib/
Development of BikeNetKit/BikeNetLib is supported by the Innovation Fund Denmark and the EU HORIZON project JUST STREETS.



