Skip to content

Commit 4d12f30

Browse files
authored
Merge pull request #46 from BikeNetKit/feature/add-codecov-polish-readme
Add codecov
2 parents f55ce5d + b2a1bcd commit 4d12f30

3 files changed

Lines changed: 28 additions & 15 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,10 @@ jobs:
8585

8686
- name: "Run tests ${{ matrix.submodule.name }}"
8787
run: |
88-
pytest ${{ matrix.submodule.pytest_args }}
88+
pytest ${{ matrix.submodule.pytest_args }} --cov --cov-branch --cov-report=xml
89+
90+
- name: Upload results to Codecov
91+
uses: codecov/codecov-action@v5
92+
with:
93+
token: ${{ secrets.CODECOV_TOKEN }}
94+
slug: BikeNetKit/FixBikeNet

‎README.md‎

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,19 @@
11
# Bike Net Kit / Fix Bike Net
22

3+
[![PyPI Version](https://img.shields.io/pypi/v/fixbikenet?color=10d249)](https://pypi.org/project/FixBikeNet/)
34
[![Docs](https://github.com/BikeNetKit/FixBikeNet/actions/workflows/docs.yml/badge.svg)](https://bikenetkit.github.io/FixBikeNet/)
45
[![Test](https://github.com/BikeNetKit/FixBikeNet/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/BikeNetKit/FixBikeNet/actions/workflows/test.yml)
5-
[![PyPI - Version](https://img.shields.io/pypi/v/fixbikenet)](https://pypi.org/project/FixBikeNet/)
6-
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
7-
![Human created](https://raw.githubusercontent.com/BikeNetKit/.github/refs/heads/main/profile/_static/badge_humancreated.svg)
6+
[![Code coverage](https://codecov.io/gh/BikeNetKit/FixBikeNet/graph/badge.svg)](https://codecov.io/gh/BikeNetKit/FixBikeNet)
87

9-
The Python package `fixbikenet` identifies the most important gaps to fill in a city's bicycle network.
10-
11-
The software downloads and pre-processes data from OpenStreetMap, identifies the gaps, saves the results, creates plots and videos. The source code builds on [the code from the research paper](https://github.com/anastassiavybornova/bikenwgaps) _Automated Detection of Missing Links in Bicycle Networks_.
12-
13-
14-
**Publication**: [https://doi.org/10.1111/gean.12324](https://doi.org/10.1111/gean.12324)
8+
The Python package `fixbikenet` identifies the most important gaps to fill in a city's bicycle network. You can download street and bike network data with a single line of code, simulate different bicycle network fixing scenarios, and export and plot the resulting prioritized gaps.
159

10+
FixBikeNet is a decision support tool for urban planners. It is also useful for proactive citizens to help inform their city about data-driven improvements, and it aims to foster research on bicycle networks.
1611

1712
## Installation
1813

1914
### The easy way
2015

21-
The currently default way to install FixBikeNet is using pip:
16+
The currently recommended way to install FixBikeNet is using pip:
2217

2318
```
2419
pip install fixbikenet
@@ -33,10 +28,10 @@ The best way to install FixBikeNet is using [`conda`](https://docs.conda.io/proj
3328
conda install -c conda-forge fixbikenet
3429
``` -->
3530

36-
If this does not work, consult our [installation docs](https://bikenetkit.github.io/FixBikeNet/installation/).
31+
If this does not work, consult our [installation docs](https://docs.bikenetkit.org/FixBikeNet/installation/).
3732

3833
### Advanced and development installations
39-
See our [installation docs](https://bikenetkit.github.io/FixBikeNet/installation/) for details.
34+
See our [installation docs](https://docs.bikenetkit.org/FixBikeNet/installation/) for details.
4035

4136
## Usage
4237

@@ -46,11 +41,22 @@ We provide a minimum working example in two formats:
4641
- Jupyter notebook ([examples/mwe.ipynb](examples/mwe.ipynb))
4742

4843
## Docs
49-
Find more information in our docs: [https://bikenetkit.github.io/FixBikeNet/](https://bikenetkit.github.io/FixBikeNet/)
44+
Find more information in our docs: [https://docs.bikenetkit.org/FixBikeNet/](https://docs.bikenetkit.org/FixBikeNet/)
45+
46+
## Source
47+
The source code builds on [the code from the research paper](https://github.com/anastassiavybornova/bikenwgaps) _Automated Detection of Missing Links in Bicycle Networks_.
48+
49+
**Publication**: [https://doi.org/10.1111/gean.12324](https://doi.org/10.1111/gean.12324)
50+
51+
52+
## How to cite
53+
If you use FixBikeNet in your research, please cite the paper:
5054

55+
> A. Vybornova, T. Cunha, A. Gühnemann, M. Szell. Automated Detection of Missing Links in Bicycle Networks. Geographical Analysis 55(2), 239-267 (2023)
56+
> DOI: [10.1111/gean.12324](https://doi.org/10.1111/gean.12324)
5157
5258
## Supported by
53-
Development of BikeNetKit/FixBikeNet was supported by the [Innovation Fund Denmark](https://innovationsfonden.dk/en) and the EU HORIZON project [JUST STREETS](https://www.just-streets.eu).
59+
Development of BikeNetKit/FixBikeNet is supported by the [Innovation Fund Denmark](https://innovationsfonden.dk/en) and the EU HORIZON project [JUST STREETS](https://www.just-streets.eu).
5460

5561

5662
[![Innovation Fund Denmark](https://raw.githubusercontent.com/BikeNetKit/.github/refs/heads/main/profile/_static/logo_innovationfund.png)](https://innovationsfonden.dk/en)    [![European Union](https://raw.githubusercontent.com/BikeNetKit/.github/refs/heads/main/profile/_static/logo_eu.png)](https://commission.europa.eu/index_en)   [![JUST STREETS](https://raw.githubusercontent.com/BikeNetKit/.github/refs/heads/main/profile/_static/logo_juststreets.png)](https://www.just-streets.eu/)

‎environment-dev.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ dependencies:
1212
- osmnx>=1.9.4
1313
- pip
1414
- pytest
15+
- pytest-cov
1516
- pixi-pycharm
1617
- pre-commit
1718
- sphinx

0 commit comments

Comments
 (0)