Skip to main content

HerePy

https://github.com/abdullahselek/HerePy/workflows/HerePy%20CI/badge.svg https://img.shields.io/pypi/v/herepy.svg https://img.shields.io/pypi/pyversions/herepy.svg https://codecov.io/gh/abdullahselek/HerePy/branch/master/graph/badge.svg https://pepy.tech/badge/herepy https://img.shields.io/conda/vn/conda-forge/herepy?logo=conda-forge https://anaconda.org/conda-forge/herepy/badges/latest_release_date.svg https://anaconda.org/conda-forge/herepy/badges/license.svg

Introduction

This library provides a pure Python interface for the HERE API. It works with Python versions 3.10 and over.

HERE provides location based services. HERE exposes a rest APIs and this library is intended to make it even easier for Python programmers to use.

Installing

You can install herepy using Python Package Index:

$ pip install herepy
$ uv pip install herepy

Install with conda from the Anaconda conda-forge channel:

$ conda install -c conda-forge herepy

Install from its source repository on GitHub:

$ pip install -e git+https://github.com/abdullahselek/HerePy#egg=herepy

Getting the code

The code is hosted at https://github.com/abdullahselek/HerePy

Check out the latest development version anonymously with:

$ git clone git://github.com/abdullahselek/HerePy.git
$ cd HerePy

To install dependencies for development, use uv:

$ uv sync

To install the minimal dependencies for production use (i.e., what is installed with pip install herepy) run:

$ uv sync --no-dev

Running Tests

The test suite can be run against a single Python version using uv.

To run the unit tests with a single Python version:

$ uv run pytest -v

to also run code coverage:

$ uv run pytest --cov=herepy

To run the unit tests against a set of Python versions:

$ tox

Models

The library utilizes models to represent various data structures returned by herepy:

* herepy.GeocoderResponse
* herepy.GeocoderReverseResponse
* herepy.RoutingResponse
* herepy.RoutingResponseV8
* herepy.RoutingMatrixResponse
* herepy.GeocoderAutoCompleteResponse
* herepy.PlacesResponse
* herepy.PublicTransitResponse
* herepy.RmeResponse
* herepy.TrafficIncidentResponse
* herepy.DestinationWeatherResponse
* herepy.EVChargingStationsResponse
* herepy.WaypointSequenceResponse
* herepy.TrafficFlowResponse
* herepy.TrafficFlowAvailabilityResponse
* herepy.IsolineRoutingResponse

API Clients

Available API clients in herepy:

* herepy.DestinationWeatherApi
* herepy.EVChargingStationsApi
* herepy.FleetTelematicsApi
* herepy.GeocoderApi
* herepy.GeocoderAutoCompleteApi
* herepy.GeocoderReverseApi
* herepy.PlacesApi
* herepy.PublicTransitApi
* herepy.RmeApi
* herepy.RoutingApi
* herepy.TrafficApi
* herepy.IsolineRoutingApi
* herepy.MapTileApi
* herepy.VectorTileApi
* herepy.MapImageApi

Documentation

View the latest herepy documentation at https://abdullahselek.github.io/HerePy/. You can view HERE’s API documentation at: https://developer.here.com/documentation.

Using

The library provides a Python wrapper around the HERE APIs with different data models. To get started, check out the examples in the examples/ folder or read the documentation at https://abdullahselek.github.io/HerePy/. All API clients need an API key which you can get from HERE Developer Portal.

Async API calls

All API clients provide asynchronous counterparts for their HTTP methods. Use the async_ prefix and manage the client with async with:

async with herepy.GeocoderApi(api_key="YOUR_API_KEY") as geocoder:
    response = await geocoder.async_free_form("Berlin")

Existing synchronous methods remain available.

License

MIT License

Copyright (c) 2017 Abdullah Selek

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Metadata

Release files for herepy 3.7.0

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

Source distribution (sdist)

Source distribution for herepy 3.7.0
File Size Uploaded Provenance Actions
herepy-3.7.0.tar.gz 474.2 kB With provenance Details for herepy-3.7.0.tar.gz

Built distribution (wheel)

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

Total release size: 534.3 kB

Release files / herepy-3.7.0.tar.gz

Download URL herepy-3.7.0.tar.gz
Size 474.2 kB
Tags Source
SHA-256 checksum
How to use checksums
23b21e9b351ee5c35c77917b823d4f2cb6fd4a5b67ae24cc29b4ab86f42f140c
BLAKE2b-256 checksum
How to use checksums
4848bb39cc586e6a12db44a7070318fd189f4dbe951518310798e7bc3842906e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / herepy-3.7.0-py3-none-any.whl

Download URL herepy-3.7.0-py3-none-any.whl
Size 60.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a67d28d00f511e6d078ee4b7f4043094288ee3f7a40bc81db6a39b0d11e306b
BLAKE2b-256 checksum
How to use checksums
ed4753e745e17e5216ebe6bc8fd22b0d19c508736d0a8446fca40e5f54144945
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Security for herepy 3.7.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for herepy-3.7.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

3.7.0 This release

2 release files Full provenance

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