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
pypiGitHub 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
342c13d873285549edf6c76f919d23a016a59c8e29ebf7879a798de8ad2cbe65
|
|
| MD5 |
c253a783e834869e9590916d0d02fd5c
|
|
| BLAKE2b-256 |
8f607deec06df22d65a781b823f9801bceef010374c25a4ddf293f5139683df5
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
truelies_osm_dybuf-0.5.0.tar.gz -
Subject digest:
342c13d873285549edf6c76f919d23a016a59c8e29ebf7879a798de8ad2cbe65 - Sigstore transparency entry: 2310144894
- Sigstore integration time:
-
Permalink:
yuchi518/gen_tiles@a7c58bfd781779da6b490add505a197b9595c6eb -
Branch / Tag:
refs/tags/osm-dybuf-v0.5.0 - Owner: https://github.com/yuchi518
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
osm-dybuf-release.yml@a7c58bfd781779da6b490add505a197b9595c6eb -
Trigger Event:
push
-
Statement type:
File details
Details for the file truelies_osm_dybuf-0.5.0-py3-none-any.whl.
File metadata
- Download URL: truelies_osm_dybuf-0.5.0-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
764b55559650eba151bea7bc7b2e5d4ad1c943d159339e8792be8b2eb65c92b2
|
|
| MD5 |
4b5980b8d148c9a8bf6d3f3864f79074
|
|
| BLAKE2b-256 |
728ee1f7eb8fdf5b23461741f95f31637d124b1bdec8c6931826f41411df7586
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
truelies_osm_dybuf-0.5.0-py3-none-any.whl -
Subject digest:
764b55559650eba151bea7bc7b2e5d4ad1c943d159339e8792be8b2eb65c92b2 - Sigstore transparency entry: 2310144895
- Sigstore integration time:
-
Permalink:
yuchi518/gen_tiles@a7c58bfd781779da6b490add505a197b9595c6eb -
Branch / Tag:
refs/tags/osm-dybuf-v0.5.0 - Owner: https://github.com/yuchi518
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
osm-dybuf-release.yml@a7c58bfd781779da6b490add505a197b9595c6eb -
Trigger Event:
push
-
Statement type: