Skip to main content

ORS

Simple openrouteservice client.

Installation

pip install ors

Usage

>>> import ors

>>> ctx = ors.context(auth="API-KEY")
>>> client = ors.client(ctx)

>>> client(
...     ors.isochrones(locations=[(8.681495,49.41461)], range_=[300])
... )
{'type': 'FeatureCollection', 'bbox': [8.664521, 49.402801, 8.700767, 49.428668], 'features': [{'type': 'Feature', 'properties': {'group_index': 0, 'value': 300.0, 'center': [8.681494991825476, 49.41459939191395]}, 'geometry': {'coordinates': [[[8.66455, 49.418885], [8.665519, 49.410051], [8.66545, 49.409698], [8.670824, 49.405706], [8.678161, 49.402824], [8.678288, 49.402801], [8.685186, 49.407663], [8.691985, 49.410694], [8.700348, 49.413689], [8.700767, 49.413778], [8.700693, 49.41413], [8.694411, 49.418176], [8.693387, 49.420158], [8.693259, 49.4204], [8.692927, 49.420864], [8.692914, 49.42088], [8.687973, 49.424483], [8.68401, 49.428168], [8.683386, 49.428588], [8.683218, 49.428548], [8.67748, 49.42736], [8.672785, 49.428668], [8.671039, 49.427832], [8.670745, 49.427625], [8.667844, 49.42021], [8.664951, 49.419278], [8.664736, 49.419261], [8.664521, 49.419244], [8.66455, 49.418885]]], 'type': 'Polygon'}}], 'metadata': {'attribution': 'openrouteservice.org | OpenStreetMap contributors', 'service': 'isochrones', 'timestamp': 1730136926865, 'query': {'profile': 'driving-car', 'locations': [[8.681495, 49.41461]], 'range': [300.0]}, 'engine': {'version': '8.2.0', 'build_date': '2024-10-09T09:23:42Z', 'graph_date': '2024-09-23T14:39:49Z'}}}

Supported services

  • Isochrones
  • Directions
  • Export
  • Matrix
  • Snapping
  • Geocode
  • Elevation
  • Optimization

Next steps

  • Support for more services
  • Tests
  • Data validation
  • Fail fast
  • Docs
  • Refactor API
  • CLI interface

Metadata

Release files for ors 0.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ors 0.1.9
File Size Uploaded
ors-0.1.9.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ors 0.1.9
File Interpreter ABI Platform
ors-0.1.9-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / ors-0.1.9.tar.gz

Download URL ors-0.1.9.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
650f3749febcaa107e12737875711675aeec8067cdb64206c3424ea355832e82
BLAKE2b-256 checksum
How to use checksums
1b3e155111c9bf9f745a04d4e59c8dfe39a2c29c9fa6c020ceeb661bd0c1b6ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.4.21

Release files / ors-0.1.9-py3-none-any.whl

Download URL ors-0.1.9-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c97d82704a2f6c3cf414dd0e8005e4559c0a029811c6410f1c643cc80124dd01
BLAKE2b-256 checksum
How to use checksums
2dd9b75ecf30d14c3bd5f1512138bf215c813ffbefd57ad65b9237f058b2bead
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.4.21

Release history Release notifications | RSS feed

This release

0.1.9 This release

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page