Skip to main content

Python package to grow urban bicycle networks from scratch, spin-off from the paper 'Growing urban bicycle networks'

Project description

GrowBikeNet

Ruff code style: prettier pre-commit Docs Test

Source code for the project GrowBikeNet, building on the code from the research paper Growing Urban Bicycle Networks.

Installation

To install and use the code, you need to have installed JupyterLab.

First clone the repository:

git clone https://github.com/BikeNetKit/GrowBikeNet.git

Go to the cloned folder and create a new virtual environment, see below.

Installation with pixi

Installation with pixi is fastest and most stable. Setup a new virtual environment using the environment.yml file:

pixi init --import environment.yml

Now build the environment and run it:

pixi run jupyter lab

An instance of Jupyter lab is automatically going to open in your browser after the environment is built.

Installation with pip/mamba/conda

Alternatively, use pip, or mamba (or conda, which is slower).

Instructions

You can either create a new virtual environment then install the necessary dependencies with pip using the requirements.txt file:

pip install -r requirements.txt

Or create a new environment with the dependencies with conda or mamba using the environment.yml file:

mamba env create -f environment.yml

Then, install the virtual environment's kernel in Jupyter:

mamba activate growbikenet
ipython kernel install --user --name=growbikenet
mamba deactivate

You can now run jupyter lab with kernel growbikenet (Kernel > Change Kernel > growbikenet).

Repository structure

├── growbikenet             <- Packaged functions and visualizations
├── tests                   <- tests to execute to ensure functionality
├── .gitignore              <- Files and folders ignored by git
├── .pre-commit-config.yaml <- Pre-commit hooks used
├── README.md
├── environment.yml         <- Environment file to set up the environment using conda/mamba/pixi

Credits

Development of GrowBikeNet was supported by the Danish Innovation Fund (Innovationsfonden).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

growbikenet-0.5.2.tar.gz (26.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

growbikenet-0.5.2-py3-none-any.whl (24.0 kB view details)

Uploaded Python 3

File details

Details for the file growbikenet-0.5.2.tar.gz.

File metadata

  • Download URL: growbikenet-0.5.2.tar.gz
  • Upload date:
  • Size: 26.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for growbikenet-0.5.2.tar.gz
Algorithm Hash digest
SHA256 7b8334b5305ed9eeb55a9e784d37df2739def02d9b7f6d4afff46c294219d415
MD5 dc7bc07d1c888e7580e76d833d368bee
BLAKE2b-256 a7fe6640fd7895595f3b552c8a9e059b51616a38ccfbb3f9cd42e35fd93f4da1

See more details on using hashes here.

Provenance

The following attestation bundles were made for growbikenet-0.5.2.tar.gz:

Publisher: publish.yml on BikeNetKit/GrowBikeNet

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file growbikenet-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: growbikenet-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 24.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for growbikenet-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 05e79fd4acea7a9e7c0db3d85da5832f8b42c6b32af2c9063d17eaa08a092b7e
MD5 01da4209e69a040daba531394c2db5d5
BLAKE2b-256 433ff7ae249bbd8694ebd16a7ccae14b0f3dcfb99df46a3fe4577ad8722c2130

See more details on using hashes here.

Provenance

The following attestation bundles were made for growbikenet-0.5.2-py3-none-any.whl:

Publisher: publish.yml on BikeNetKit/GrowBikeNet

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page