Skip to main content

truelies-osm-dybuf

Python runtime package for Truelies Gridex indexing and OSM DyBuf semantics. It is the Python counterpart of npm @truelies/osm-dybuf and depends on the generic dybuf package for JSON-equivalent binary encoding.

from truelies_osm_dybuf.grid_index import grid_code_at_lonlat

grid_code = grid_code_at_lonlat(2, 121.56, 25.03)

Python snake_case and JavaScript camelCase APIs are tested against the shared release snapshot at tests/fixtures/gridex/grid-code-v1.json. A repository-level test checks that this snapshot matches the canonical fixture in specs/ when the submodule is available.

Development

From the repository root:

python -m venv .venv-gridex
source .venv-gridex/bin/activate
pip install -e ./py pytest build twine
pytest -q py/tests
python -m build py
twine check py/dist/*

The initial 0.5.0 Python release intentionally contains the Gridex coordinate/index core. OSM tile payload decoders remain JavaScript-only until a Python consumer needs them; they are not duplicated merely to make the package surfaces look identical.

Release

The osm-dybuf-v* tag workflow builds and tests both packages, then publishes the Python package:

  • PyPI through Trusted Publishing configured for the pypi GitHub environment.

The npm package keeps its existing local release flow: authenticate with npm login and run npm publish --access public from js/.

Before creating a tag, both py/pyproject.toml and js/package.json must contain the same release version.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

truelies_osm_dybuf-0.5.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

truelies_osm_dybuf-0.5.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file truelies_osm_dybuf-0.5.0.tar.gz.

File metadata

  • Download URL: truelies_osm_dybuf-0.5.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for truelies_osm_dybuf-0.5.0.tar.gz
Algorithm Hash digest
SHA256 342c13d873285549edf6c76f919d23a016a59c8e29ebf7879a798de8ad2cbe65
MD5 c253a783e834869e9590916d0d02fd5c
BLAKE2b-256 8f607deec06df22d65a781b823f9801bceef010374c25a4ddf293f5139683df5

See more details on using hashes here.

Provenance

The following attestation bundles were made for truelies_osm_dybuf-0.5.0.tar.gz:

Publisher: osm-dybuf-release.yml on yuchi518/gen_tiles

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file truelies_osm_dybuf-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for truelies_osm_dybuf-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 764b55559650eba151bea7bc7b2e5d4ad1c943d159339e8792be8b2eb65c92b2
MD5 4b5980b8d148c9a8bf6d3f3864f79074
BLAKE2b-256 728ee1f7eb8fdf5b23461741f95f31637d124b1bdec8c6931826f41411df7586

See more details on using hashes here.

Provenance

The following attestation bundles were made for truelies_osm_dybuf-0.5.0-py3-none-any.whl:

Publisher: osm-dybuf-release.yml on yuchi518/gen_tiles

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 files

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