Skip to main content

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.0.2

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

Source distribution (sdist)

Source distribution for loconym 0.0.2
File Size Uploaded Provenance Actions
loconym-0.0.2.tar.gz 27.3 kB With provenance Details for loconym-0.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 55.8 kB

Release files / loconym-0.0.2.tar.gz

Download URL loconym-0.0.2.tar.gz
Size 27.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e8d08cd4ffee407a2fc43d9e416d63e1258ca5778eae64f6fcdd0e6185000761
BLAKE2b-256 checksum
How to use checksums
e95b36f7eb8e6af3baf21669552995ea265c63485e55d27e6b2474cf0edcdfa1
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 log

Release files / loconym-0.0.2-py3-none-any.whl

Download URL loconym-0.0.2-py3-none-any.whl
Size 28.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aac44c2a6a555ed6193a8c0287bc7c6116e621d6ac3869ae6a88ef613d187250
BLAKE2b-256 checksum
How to use checksums
ce103460ee68b8894db757fd1009484a22c9cd0d7c1947868d5c728eeb6e7694
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 log

Security for loconym 0.0.2

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 loconym-0.0.2.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 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.

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