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.

Metadata

Release files for truelies-osm-dybuf 0.5.0

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

Source distribution (sdist)

Source distribution for truelies-osm-dybuf 0.5.0
File Size Uploaded Provenance
truelies_osm_dybuf-0.5.0.tar.gz 8.9 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for truelies-osm-dybuf 0.5.0
File Interpreter ABI Platform
truelies_osm_dybuf-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.2 kB

Release files / truelies_osm_dybuf-0.5.0.tar.gz

Download URL truelies_osm_dybuf-0.5.0.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
342c13d873285549edf6c76f919d23a016a59c8e29ebf7879a798de8ad2cbe65
BLAKE2b-256 checksum
How to use checksums
8f607deec06df22d65a781b823f9801bceef010374c25a4ddf293f5139683df5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 1, 2026.

Transparency log

Release files / truelies_osm_dybuf-0.5.0-py3-none-any.whl

Download URL truelies_osm_dybuf-0.5.0-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
764b55559650eba151bea7bc7b2e5d4ad1c943d159339e8792be8b2eb65c92b2
BLAKE2b-256 checksum
How to use checksums
728ee1f7eb8fdf5b23461741f95f31637d124b1bdec8c6931826f41411df7586
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 1, 2026.

Transparency log

Security for truelies-osm-dybuf 0.5.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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for truelies_osm_dybuf-0.5.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 Aug 1, 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.

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files Full provenance

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