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

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.1
File Size Uploaded Provenance Actions
loconym-0.0.1.tar.gz 22.5 kB With provenance Details for loconym-0.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 47.3 kB

Release files / loconym-0.0.1.tar.gz

Download URL loconym-0.0.1.tar.gz
Size 22.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a73b77de8cb5180f4664550d2c5c11b7b10f8083a43d9e2c6511a846f41d4bdd
BLAKE2b-256 checksum
How to use checksums
4a69351326322037ba6e84c83a8c5912afcaacd97f483a36e9256b86d9351576
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 25, 2026.

Transparency log

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

Download URL loconym-0.0.1-py3-none-any.whl
Size 24.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a141fc5259f583be0d753def21abf75b61af53f17332802a77d1057be386453e
BLAKE2b-256 checksum
How to use checksums
4e5a63e93342b75c0d062d1c1e3a889974225e6702608367225c7fc696668e7e
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 25, 2026.

Transparency log

Security for loconym 0.0.1

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.1.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 25, 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