Skip to main content

Python wrapper for the R5 routing analysis engine

Project description

r5py: Rapid Realistic Routing with R5 in Python logo

Try r5py with binder Documentation Status Trunk build status Python version PyPi package version 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, allowing the 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. 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-0.0.4.tar.gz (27.1 kB view details)

Uploaded Source

Built Distribution

r5py-0.0.4-py3-none-any.whl (30.0 kB view details)

Uploaded Python 3

File details

Details for the file r5py-0.0.4.tar.gz.

File metadata

  • Download URL: r5py-0.0.4.tar.gz
  • Upload date:
  • Size: 27.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for r5py-0.0.4.tar.gz
Algorithm Hash digest
SHA256 26073a4556ae1542b9c3040b1f599807e760e7b664ee28d0e0a1a678330b0270
MD5 63801d7dc0f34874afb2adb10199320f
BLAKE2b-256 1df6990a0fe6474f37b2459619521e476560fcb22773fb38ed1886f49e351b6e

See more details on using hashes here.

File details

Details for the file r5py-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: r5py-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 30.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for r5py-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4d1dea0c6f99363abc1c4e294a43f18cc2eb5699d6026e8bd0c8971e800f328b
MD5 f8f499b29b143b226c658b13027b7d77
BLAKE2b-256 a585676899ac40f0835db3c63b87687e78e29b09de3108cd2c6b9b665813e5ce

See more details on using hashes here.

Supported by

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