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.1

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.1
File Size Uploaded
yoro-0.4.1.tar.gz 209.6 kB Details

Built distribution (wheel)

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

Total release size: 245.0 kB

Release files / yoro-0.4.1.tar.gz

Download URL yoro-0.4.1.tar.gz
Size 209.6 kB
Tags Source
SHA-256 checksum
How to use checksums
45e7d745b321da10c46a95503998873b92350618d98d9c9cdc3cc7bc3c3286b1
BLAKE2b-256 checksum
How to use checksums
ad611184b07d7bac51f2b6270fd5633e52f70d2e20dac1fd1eea9b90454b3774
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.1-py3-none-any.whl

Download URL yoro-0.4.1-py3-none-any.whl
Size 35.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd369d837476cfda3711d073e6840596811b05486ab78efacd7d27b0d3b978f5
BLAKE2b-256 checksum
How to use checksums
c16b325d8fa631dee3d332252c94cbdf584ddc5db8736f55f6d6d6ef628a5a0d
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

0.4.2

2 release files

This release

0.4.1 This release

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