Skip to main content

BikeNetLib

Conda Version PyPI Version Docs Test Code coverage Human created Mastodon Follow

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.

BikeNetLib is imported as bnl. There are several building blocks:

  • bnl.io – Input and output
  • bnl.osm – OpenStreetMap constants
  • bnl.utils – Utilities
  • bnl.viz – Visualization

BikeNetLib mainly builds on OSMnx and GeoPandas.

Installation

The recommended way to install BikeNetLib is using conda:

conda install bikenetlib

Advanced and development installations

For more installation options, see our Installation docs.

Usage

We provide a minimum working example:

For a walkthrough with illustrative examples, see our Usage docs.

Documentation

Find more information in our docs: https://docs.bikenetkit.org/BikeNetLib/
See also our Frequently Asked Questions.

Terms of use

When using BikeNetLib's default settings, BikeNetKit's own overpass server is used to download street network data - read and observe its terms of use. To change the overpass server, for example to OSMnx's default server https://overpass-api.de/api, run the following right after importing bikenetlib:

import osmnx as ox
ox.settings.overpass_url = 'https://overpass-api.de/api'

Supported by

Development of BikeNetKit/BikeNetLib is supported by the Innovation Fund Denmark and the EU HORIZON project JUST STREETS.

Innovation Fund Denmark    European Union   JUST STREETS

Metadata

Release files for bikenetlib 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bikenetlib 0.9.0
File Size Uploaded Provenance Actions
bikenetlib-0.9.0.tar.gz 31.9 kB With provenance Details for bikenetlib-0.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bikenetlib 0.9.0
File Interpreter ABI Platform Actions
bikenetlib-0.9.0-py3-none-any.whl Python 3 none any Details for bikenetlib-0.9.0-py3-none-any.whl

Total release size: 59.4 kB

Release files / bikenetlib-0.9.0.tar.gz

Download URL bikenetlib-0.9.0.tar.gz
Size 31.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f8854e8c827a91e65102d5df4d8631cf15a3f0ab3657e2af009caacbd2b43f90
BLAKE2b-256 checksum
How to use checksums
a31ecb00b44ffdebdd8a795aca080278c5589d6cc7781fef3ccbcc3f162e67b1
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 16, 2026.

Transparency log

Release files / bikenetlib-0.9.0-py3-none-any.whl

Download URL bikenetlib-0.9.0-py3-none-any.whl
Size 27.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b6d74aee999f38dee50001e8a11cb41d055166dd13cc83e3de4051d93ce8765
BLAKE2b-256 checksum
How to use checksums
a205b96e80ad4b0e6aff3c96468d9ee7b4668cda0d54a0b1b37efce56cb981c9
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 16, 2026.

Transparency log

Security for bikenetlib 0.9.0

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.

Select from 2 files

Attestation for bikenetlib-0.9.0.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 16, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page