Skip to content

EPFL-ENAC/isochrones

Isochrones

CI

Package to generate isochrones using OpenTripPlanner

🐇 Quick start

Requirements

See the project LASUR OTP to build and run a local OTP server.

Installation

Development version

uv pip install -e .

To install the dependencies required to run the example notebook, use

uv pip install -e .[example]

or

uv pip install -e '.[example]'

if you are on macOS.

Stable version:

# Replace TAG with the desired version or tag, e.g. v1.2.3
uv pip install git+https://github.com/EPFL-ENAC/isochrones.git@v1.2.3
# or
uv pip install git+https://github.com/EPFL-ENAC/isochrones.git@TAG

Run tests

uv pip install -e .[dev]
uv run pytest -q

Usage

from isochrones import calculate_isochrones, intersect_isochrones, get_osm_features

Development

Generate Geneva OSM PBF file:

make pbf pbf-geneva

About

No description or website provided.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages