here_routing
Asynchronous Python client for the HERE Routing V8 API
Installation
uv add here_routing
Usage
import asyncio
from here_routing import HERERoutingApi, Place, Return, TransportMode
API_KEY = "<YOUR_API_KEY>"
async def main() -> None:
"""Show example how to get duration of your route."""
async with HERERoutingApi(api_key=API_KEY) as here_routing:
response = await here_routing.route(
transport_mode=TransportMode.CAR,
origin=Place(latitude=50.12778680095556, longitude=8.582081794738771),
destination=Place(latitude=50.060940891421765, longitude=8.336477279663088),
return_values=[Return.SUMMARY],
)
print(
f"Duration is: {response['routes'][0]['sections'][0]['summary']['duration']}"
)
if __name__ == "__main__":
asyncio.run(main())
Metadata
Release files for here_routing 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| here_routing-1.2.0.tar.gz | 202.5 kB | Without provenance | Details for here_routing-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| here_routing-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for here_routing-1.2.0-py3-none-any.whl |
Total release size: 209.5 kB
Release files / here_routing-1.2.0.tar.gz
| Download URL | here_routing-1.2.0.tar.gz |
|---|---|
| Size | 202.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e2f53456df4204b1ae8613693eb2c71eade8e062767b4b2f4a434658abbecd09
|
|
BLAKE2b-256 checksum How to use checksums |
375e5f64732b3639504aa9ad41e19eca1154929349d5cf2241775fa915f73d9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.7.13
|
Release files / here_routing-1.2.0-py3-none-any.whl
| Download URL | here_routing-1.2.0-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9aeb20169f74c6a4d96cdcf5399f77b4d9c6650df1fffa95ec411f817c1d6934
|
|
BLAKE2b-256 checksum How to use checksums |
612b0572ee9cdf7a5c96a1a2627169bc8dfc197cb5bd9665e28a026a4478707a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.7.13
|
Security for here_routing 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.