Skip to main content

Python wrapper for the R5 routing analysis engine

Project description

r5py: Rapid Realistic Routing with R5 in Python

Try r5py with binder DOI
stable version downloads (pypi) downloads (conda-forge)
Trunk build status Documentation Status Coverage

R5py is a Python library for rapid realistic routing on multimodal transport networks (walk, bike, public transport and car). It provides a simple and friendly interface to R5, the Rapid Realistic Routing on Real-world and Reimagined networks, the routing engine developed by Conveyal. r5py is inspired by r5r, a wrapper for R, and the library is designed to interact with GeoPandas GeoDataFrames.

R5py offers a simple way to run R5 locally with Python. It allows users to calculate travel time matrices and accessibility by different travel modes. To get started, see a detailed demonstration of the r5py ‘in action’ from the Usage section of its documentation. Over time, r5py will be expanded to incorporate other functionalities from R5.

Installation

R5py is available from conda-forge and PyPi. You can use mamba, pip or conda to install it. To quickstart your use of r5py, we also provide an environment.yml file , using which you can quickly set up a development environment and are ready to go.

For more details and alternative installation options, read the dedicated installation section of the r5py documentation.

Usage

You can find detailed installation instructions, example code, documentation and API reference at r5py.readthedocs.io.

Acknowledgements

The R5 routing engine is developed at Conveyal with contributions from several people.

R5py draws a lot of inspiration from r5r, an interface to R5 from the R language that is developed at the Institute for Applied Economic Research (Ipea), Brazil.

Citation

If you use r5py for scientific research, please cite it in your publications:

Fink, C., Klumpenhouwer, W., Saraiva, M., Pereira, R., & Tenkanen, H., 2022: r5py: Rapid Realistic Routing with R5 in Python. DOI:10.5281/zenodo.7060437

License

This work is dual-licensed under GNU General Public License v3.0 or later and MIT License. You can choose between the two depending on which license fits your project better.

SPDX-License-Identifier: GPL-3.0-or-later OR MIT

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

r5py-1.0.0.dev1.tar.gz (62.1 kB view details)

Uploaded Source

Built Distribution

r5py-1.0.0.dev1-py3-none-any.whl (53.4 kB view details)

Uploaded Python 3

File details

Details for the file r5py-1.0.0.dev1.tar.gz.

File metadata

  • Download URL: r5py-1.0.0.dev1.tar.gz
  • Upload date:
  • Size: 62.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for r5py-1.0.0.dev1.tar.gz
Algorithm Hash digest
SHA256 4b42aaf3236bcbe0140d4e6eceaba9c3e465ec91a199c070853d5b6d54579618
MD5 3b730ac934dce49de0497a187257e57e
BLAKE2b-256 af98daabc9863e9ef11a7ffb680be61f76249e52a5b318396fc0ef08054f35bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for r5py-1.0.0.dev1.tar.gz:

Publisher: release-and-deploy-v-tags.yml on r5py/r5py

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

File details

Details for the file r5py-1.0.0.dev1-py3-none-any.whl.

File metadata

  • Download URL: r5py-1.0.0.dev1-py3-none-any.whl
  • Upload date:
  • Size: 53.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for r5py-1.0.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 68022a7fce8d217fa9be31806ee0a59869135b013493980e2d43b2766ff9881a
MD5 7f0a1d511c1497f9844df7c0a4e1da33
BLAKE2b-256 14d3e3ba7226e47274a3ebeaa65c8f785b9f1f02c2e1016e08d2859e9bcc6f99

See more details on using hashes here.

Provenance

The following attestation bundles were made for r5py-1.0.0.dev1-py3-none-any.whl:

Publisher: release-and-deploy-v-tags.yml on r5py/r5py

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 Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page