Python package to grow urban bicycle networks from scratch, spin-off from the paper 'Growing urban bicycle networks'
Project description
GrowBikeNet
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b8334b5305ed9eeb55a9e784d37df2739def02d9b7f6d4afff46c294219d415
|
|
| MD5 |
dc7bc07d1c888e7580e76d833d368bee
|
|
| BLAKE2b-256 |
a7fe6640fd7895595f3b552c8a9e059b51616a38ccfbb3f9cd42e35fd93f4da1
|
Provenance
The following attestation bundles were made for growbikenet-0.5.2.tar.gz:
Publisher:
publish.yml on BikeNetKit/GrowBikeNet
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
growbikenet-0.5.2.tar.gz -
Subject digest:
7b8334b5305ed9eeb55a9e784d37df2739def02d9b7f6d4afff46c294219d415 - Sigstore transparency entry: 1261934408
- Sigstore integration time:
-
Permalink:
BikeNetKit/GrowBikeNet@22f1de4c8755b9dc1841c69ebb606b7ca6c519cd -
Branch / Tag:
refs/heads/main - Owner: https://github.com/BikeNetKit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@22f1de4c8755b9dc1841c69ebb606b7ca6c519cd -
Trigger Event:
pull_request
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05e79fd4acea7a9e7c0db3d85da5832f8b42c6b32af2c9063d17eaa08a092b7e
|
|
| MD5 |
01da4209e69a040daba531394c2db5d5
|
|
| BLAKE2b-256 |
433ff7ae249bbd8694ebd16a7ccae14b0f3dcfb99df46a3fe4577ad8722c2130
|
Provenance
The following attestation bundles were made for growbikenet-0.5.2-py3-none-any.whl:
Publisher:
publish.yml on BikeNetKit/GrowBikeNet
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
growbikenet-0.5.2-py3-none-any.whl -
Subject digest:
05e79fd4acea7a9e7c0db3d85da5832f8b42c6b32af2c9063d17eaa08a092b7e - Sigstore transparency entry: 1261934440
- Sigstore integration time:
-
Permalink:
BikeNetKit/GrowBikeNet@22f1de4c8755b9dc1841c69ebb606b7ca6c519cd -
Branch / Tag:
refs/heads/main - Owner: https://github.com/BikeNetKit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@22f1de4c8755b9dc1841c69ebb606b7ca6c519cd -
Trigger Event:
pull_request
-
Statement type: