offline-address-check
Check whether a street address exists, offline. You get yes, maybe or no with a reason, and the spelling of the
address as the country's data holds it. There is no API key, and the address is never sent anywhere: it is checked against one file per country on
your machine.
Built on GridPin, an offline geocoder.
pip install offline-address-check
offline-address-check "8 rue de Rivoli, Paris" --country fr
first use: downloading the France file once, 365 MB, from https://dl.gridpin.dev/…
yes house_found 8 Rue de Rivoli, 75004 Paris 4e Arrondissement
The exit code is 0 for yes and 1 otherwise, so a script can branch on it.
What it says, and what it does not
| Verdict | Reasons |
|---|---|
yes |
house_found: the house with this number is in the data, in the town or postcode the line names |
maybe |
no_place (found, but the line names no town or postcode), street_corrected (found on a street spelled differently), number_interpolated, no_number, postcode_differs, town_not_on_sheet, weak_answer |
no |
street_unknown, number_not_on_street, wrong_city, empty |
offline-address-check --reasons prints what each reason means.
It checks the address against the country's address data. Some things it does not check:
- Delivery. It does not tell you whether the post delivers there.
- Flats and floors. It knows houses, not units inside them.
- Recent addresses. A house built after the data was published is not there.
Which countries have a file, and what each covers, is on the GridPin countries page.
A line without a town or postcode is never yes. "8 rue de Rivoli" exists in Paris, but a street of the same name may
exist in another town too, and the line does not say which one is meant.
Many addresses
offline-address-check --country de --file customers.csv --column address --out checked.csv
A plain text file (one address per line) works without --column. The output CSV has the columns address, exists,
reason, street, housenumber, place, postcode, lat, lon.
From Python
from offline_address_check import Checker
checker = Checker("fr") # downloads the France file once; Checker("fr", download=False) refuses to
row = checker.check("8 rue de Rivoli, Paris")
row["exists"], row["reason"] # ('yes', 'house_found')
Checker("/path/to/france.bin") opens a file you already have.
Files
The country file is downloaded once into the GridPin cache (~/.cache/gridpin/). It is checked against its published
SHA-256 and then read locally. The files are tens to hundreds of megabytes, and the size is printed before a download.
offline-address-check --download fr fetches one ahead of time. --no-download stops instead of downloading.
Licence
This package is licensed under Apache-2.0. The country files carry the licences of their sources, which are listed in ATTRIBUTIONS.
Metadata
Release files for offline-address-check 0.1.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 |
|---|---|---|---|---|
| offline_address_check-0.1.0.tar.gz | 12.6 kB | With provenance | Details for offline_address_check-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| offline_address_check-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for offline_address_check-0.1.0-py3-none-any.whl |
Total release size: 24.2 kB
Release files / offline_address_check-0.1.0.tar.gz
| Download URL | offline_address_check-0.1.0.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa7d5e8dabe6cfae0f1ac46cedb7303bc5e95df4e21aa1fcdf15f18322a78e23
|
|
BLAKE2b-256 checksum How to use checksums |
b9e87d346981eb7cafef19d063765c98ce7147b255c99b3841e3de6fc4d5d72a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Nov 29, 2026.
Transparency logRelease files / offline_address_check-0.1.0-py3-none-any.whl
| Download URL | offline_address_check-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
717e6fdb6a766679f41b3e23163e8904b15544403103e225a0ed0e0f80de8b00
|
|
BLAKE2b-256 checksum How to use checksums |
c5c2c4a0eefb460a818bccfe0e04bae5eee375bdb4912841fb077149e6a08b8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Nov 29, 2026.
Transparency logSecurity for offline-address-check 0.1.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.
Attestation for offline_address_check-0.1.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 Nov 29, 2026.
Transparency logA 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.