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

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.1
File Size Uploaded Provenance Actions
bikenetlib-0.9.1.tar.gz 32.2 kB With provenance Details for bikenetlib-0.9.1.tar.gz

Built distribution (wheel)

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

Total release size: 59.7 kB

Release files / bikenetlib-0.9.1.tar.gz

Download URL bikenetlib-0.9.1.tar.gz
Size 32.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c05660e91b102a261c06648f37096b0a55a893290971ebd85a809c9e70098420
BLAKE2b-256 checksum
How to use checksums
d3a95579214490f1dee82a4109f52c4b89a08fe19c235da4ca60cf616f0ffdba
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 24, 2026.

Transparency log

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

Download URL bikenetlib-0.9.1-py3-none-any.whl
Size 27.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
42fffd5107d5a037f34257ef1e5c519eb3c937e578e3d1a8955e909e96deb1a8
BLAKE2b-256 checksum
How to use checksums
ba347d3a5488bc03f5bcd3bc721db308528c8dc742fa27a65e91d45b43165d54
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 24, 2026.

Transparency log

Security for bikenetlib 0.9.1

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.1.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 24, 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