loconym
Build compact, offline geocoding databases from OpenStreetMap .osm.pbf extracts.
loconym build turns an extract into a single SQLite file that supports:
- reverse geocoding: lat/lon → address (house number, street, suburb, city, state, country)
- search: address text → lat/lon, with type-ahead, house numbers and address interpolation
The file is queried in the browser by the TypeScript client
loconym, either by downloading it or by reading only the
pages a query needs through HTTP range requests. No server, no API keys.
pip install loconym
loconym build monaco-latest.osm.pbf -o monaco.sqlite
Extracts are available from Geofabrik. For country-sized inputs, also install
osmium-tool (e.g. conda install -c conda-forge osmium-tool) so the builder
can pre-filter the input and keep memory bounded.
Documentation: https://travishathaway.github.io/loconym/
Data © OpenStreetMap contributors (ODbL). License: MIT.
Metadata
Release files for loconym 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 |
|---|---|---|---|---|
| loconym-0.1.0.tar.gz | 39.5 kB | With provenance | Details for loconym-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| loconym-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for loconym-0.1.0-py3-none-any.whl |
Total release size: 78.3 kB
Release files / loconym-0.1.0.tar.gz
| Download URL | loconym-0.1.0.tar.gz |
|---|---|
| Size | 39.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b6dd9592926919e0bfa2127c52c88b84bb866244a46720414c52045b1f614db
|
|
BLAKE2b-256 checksum How to use checksums |
0b40d383c75cabecc154d1b1158adeb1ad29a38729a546996374e7a0e825080c
|
| 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 Nov 26, 2026.
Transparency logRelease files / loconym-0.1.0-py3-none-any.whl
| Download URL | loconym-0.1.0-py3-none-any.whl |
|---|---|
| Size | 38.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cca72e58b29b9656e33f2adc1386b61deafdc6ff0bacaa9b04ac9bbd2cf4ed7f
|
|
BLAKE2b-256 checksum How to use checksums |
3303b3fc0965c6202f1ea042eeabb4b3a8f8e537178d92d96934f246fcf6e651
|
| 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 Nov 26, 2026.
Transparency logSecurity for loconym 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 loconym-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 26, 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.