Skip to main content

Yoro

Documentation | PyPI | GitHub

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.

Release files for yoro 0.4.2

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

Source distribution (sdist)

Source distribution for yoro 0.4.2
File Size Uploaded
yoro-0.4.2.tar.gz 209.8 kB Details

Built distribution (wheel)

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

Total release size: 245.3 kB

Release files / yoro-0.4.2.tar.gz

Download URL yoro-0.4.2.tar.gz
Size 209.8 kB
Tags Source
SHA-256 checksum
How to use checksums
36cc9a1785984f8c845e7a49cac7fcb95ad926a7c32b017590081782d3efd933
BLAKE2b-256 checksum
How to use checksums
55dde2a7bbc84ba1c8022790633020d79a8a4f8c69941215300fff046195db74
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 20, 2026.

Transparency log

Release files / yoro-0.4.2-py3-none-any.whl

Download URL yoro-0.4.2-py3-none-any.whl
Size 35.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a13ad5ef8a2850187561e054830474e192206a552454fbc78628e6327f0b35d5
BLAKE2b-256 checksum
How to use checksums
11eac33a81ba4af67e1afae8db5113567667d3bc37332636fe69d3cbb9d18b87
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 20, 2026.

Transparency log

Release history Release notifications | RSS feed

0.5.0

2 release files

0.4.3

2 release files

This release

0.4.2 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release 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