Yoro — Geographic addressing via Hilbert curves (GPS ↔ compact codes). 'Yoro' means 'place' in Manding.
Project description
Yoro
Geographic addressing via Hilbert curves — GPS ↔ compact alphanumeric codes.
"Yoro" means "place" in Manding (West Africa).
Install
pip install yoro # core only
pip install yoro[django] # Django/GeoDjango integration
pip install yoro[fastapi] # FastAPI server
pip install yoro[all] # everything
Quick start
import yoro
code = yoro.encode(6.8, -5.3, domain="CI") # "CI-..."
result = yoro.decode(code) # {"lat", "lon", "bounds", ...}
nbrs = yoro.neighbors(code) # 8 adjacent cells
Django integration
# settings.py
INSTALLED_APPS = [..., "yoro.django"]
# urls.py
urlpatterns = [
path("api/v1/yoro/", include("yoro.django.urls")),
]
FastAPI server
yoro serve --port 8000
# or
python -m yoro.fastapi
CLI
yoro encode 6.8 -5.3 --domain CI
yoro decode CI-4H7A3B
License
MIT — Paul Guindo / Altius Academy SNC.
Project details
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 yoro-0.1.0.tar.gz.
File metadata
- Download URL: yoro-0.1.0.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
815d5bec4ee7e30f40eac8adb33758088fa85b574fb573e48bd5dfdf47358202
|
|
| MD5 |
678b32eb89b03d49736215caccbfa7b2
|
|
| BLAKE2b-256 |
e5479f35294284be78b2343970fd2c0541571198e5893633931fa391128cfaee
|
Provenance
The following attestation bundles were made for yoro-0.1.0.tar.gz:
Publisher:
publish.yml on Altius-Academy-SNC/yoro
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yoro-0.1.0.tar.gz -
Subject digest:
815d5bec4ee7e30f40eac8adb33758088fa85b574fb573e48bd5dfdf47358202 - Sigstore transparency entry: 1109813892
- Sigstore integration time:
-
Permalink:
Altius-Academy-SNC/yoro@4fd3e11b26e24b8939c6771c04c761e92ba7cf02 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Altius-Academy-SNC
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4fd3e11b26e24b8939c6771c04c761e92ba7cf02 -
Trigger Event:
release
-
Statement type:
File details
Details for the file yoro-0.1.0-py3-none-any.whl.
File metadata
- Download URL: yoro-0.1.0-py3-none-any.whl
- Upload date:
- Size: 18.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00c78c6fea381874fe49cd287e6f4b36d2a6a29647e03e4c147850d1aa9bf3d8
|
|
| MD5 |
ae98c113b2e5dbe0e4820b07e41dec0b
|
|
| BLAKE2b-256 |
61ea14c84e24c42beb932ec6388e13d7d1f18e9f5bd34a5991209b49193bc729
|
Provenance
The following attestation bundles were made for yoro-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on Altius-Academy-SNC/yoro
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yoro-0.1.0-py3-none-any.whl -
Subject digest:
00c78c6fea381874fe49cd287e6f4b36d2a6a29647e03e4c147850d1aa9bf3d8 - Sigstore transparency entry: 1109813907
- Sigstore integration time:
-
Permalink:
Altius-Academy-SNC/yoro@4fd3e11b26e24b8939c6771c04c761e92ba7cf02 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Altius-Academy-SNC
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4fd3e11b26e24b8939c6771c04c761e92ba7cf02 -
Trigger Event:
release
-
Statement type: