A5 is a geospatial index that partitions the world into pentagonal cells. The cells are available at 31 resolution levels, from a handful covering the whole world down to less than 30mm², and every cell at a given resolution has exactly the same area. Each cell is identified by a 64-bit integer, which is frozen from v1.0: an A5 cell ID stored today will refer to the same place in the future.
Once data is in cells, very different datasets can be joined, aggregated and compared directly: points can be counted per cell, as with the density of holiday rentals across a city, and regions such as countries or parcels of land become coverings, sets of cells which support union, intersection and difference.
Key strengths
- Equal area, single topology: every cell is an exactly equal-area pentagon with 5 neighbors, so aggregates are free of bias from unequal cell sizes. See A5 vs H3.
- Built for big data: cell IDs follow a space-filling curve that never crosses itself, so polygons and coverings are compact ID ranges. Billions of cells can be filled, combined and counted in seconds.
- Fast & rich API: high-level functions for indexing, hierarchy, traversal and coverings, with a native Rust core.
- Strong ecosystem: official libraries for TypeScript, Python and Rust, with DuckDB, PostgreSQL, R, QGIS and deck.gl integrations. See the Ecosystem.
Where to start
- Quickstart: index your first cell in your language of choice
- DuckDB playground: Use DuckDB to experiment with A5
- Examples: interactive examples showcasing the system
- API Reference: every function, with snippets in each language
- What's new: the changes in v1.0
A5 is open source and licensed under the Apache 2.0 License.
Links
- Website: a5geo.org
- Bugs or feature requests: GitHub Issues
- Questions and discussion: join the community on Slack
Metadata
Release files for pya5 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pya5-1.0.0.tar.gz | 123.9 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| pya5-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
| pya5-1.0.0-cp38-abi3-win_amd64.whl | CPython 3.8 | abi3 | Windows x86-64 | Details |
| pya5-1.0.0-cp38-abi3-musllinux_1_2_x86_64.whl | CPython 3.8 | abi3 | Linux musl 1.2+ x86-64 | Details |
| pya5-1.0.0-cp38-abi3-musllinux_1_2_aarch64.whl | CPython 3.8 | abi3 | Linux musl 1.2+ ARM64 | Details |
| pya5-1.0.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.8 | abi3 | Linux glibc 2.17+ x86-64 | Details |
| pya5-1.0.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.8 | abi3 | Linux glibc 2.17+ ARM64 | Details |
| pya5-1.0.0-cp38-abi3-macosx_11_0_arm64.whl | CPython 3.8 | abi3 | macOS 11.0+ ARM64 | Details |
| pya5-1.0.0-cp38-abi3-macosx_10_12_x86_64.whl | CPython 3.8 | abi3 | macOS 10.12+ x86-64 | Details |
Total release size: 3.6 MB
Release files / pya5-1.0.0.tar.gz
| Download URL | pya5-1.0.0.tar.gz |
|---|---|
| Size | 123.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4796aa2b3d5076306761d773a0a3fefc614ebd7fd0d213fc61e957c746c01d8c
|
|
BLAKE2b-256 checksum How to use checksums |
88c15e14bd447bcb05512a8cf5e9e0e28bb79cff6b78d1b17423fd7aff1f0b1d
|
| 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 Oct 15, 2026.
Transparency logRelease files / pya5-1.0.0-py3-none-any.whl
| Download URL | pya5-1.0.0-py3-none-any.whl |
|---|---|
| Size | 133.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60c26d4bcec925ba3b86f58245dc1a87bb5d9f81970e60a0122bbd3404b7c375
|
|
BLAKE2b-256 checksum How to use checksums |
dfc68fb23df85156ca3047f725b1cc303d99758d54b974413efbad0f067aaea6
|
| 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 Oct 15, 2026.
Transparency logRelease files / pya5-1.0.0-cp38-abi3-win_amd64.whl
| Download URL | pya5-1.0.0-cp38-abi3-win_amd64.whl |
|---|---|
| Size | 391.5 kB |
| Tags | CPython 3.8 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
52cc5c3de53974cdd959ac55bc13653b5e73c5bdb2f94a677f3f0e28519d0fc2
|
|
BLAKE2b-256 checksum How to use checksums |
04be320f9a3eb72a906f745a8b1ac444412c632787398fd1a57771390cdcc12f
|
| 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 Oct 15, 2026.
Transparency logRelease files / pya5-1.0.0-cp38-abi3-musllinux_1_2_x86_64.whl
| Download URL | pya5-1.0.0-cp38-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 558.3 kB |
| Tags | CPython 3.8 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
f26b7efcd4ac061189849168e1016249580739f95ae4891ce69a9a80e38f0c2c
|
|
BLAKE2b-256 checksum How to use checksums |
75081f0b2bf424707796e04b8ee07ed9603c891a763361f67320c5ef3efd57dc
|
| 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 Oct 15, 2026.
Transparency logRelease files / pya5-1.0.0-cp38-abi3-musllinux_1_2_aarch64.whl
| Download URL | pya5-1.0.0-cp38-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 522.0 kB |
| Tags | CPython 3.8 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
e1047a2ee05c5cd14c5a4a14468a3b4270d300b37dab0b4484c1e393365d433d
|
|
BLAKE2b-256 checksum How to use checksums |
5efbb973324f5b40a1c307d0a339bd5d937ea86876fba94617d25fe8116115ca
|
| 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 Oct 15, 2026.
Transparency logRelease files / pya5-1.0.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pya5-1.0.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 478.9 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
de466b35f5900ee5b9762eb4c8d79b694f2e4cee9c8857bb8e830b442bd2f304
|
|
BLAKE2b-256 checksum How to use checksums |
80b8bbe67dc60faf3992fbe7099bf05551b572cddc7f10aa4358f42d22497711
|
| 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 Oct 15, 2026.
Transparency logRelease files / pya5-1.0.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | pya5-1.0.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 456.8 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
e40b1ca341c3bbc060d0871609befca50775b774b3430a59dc51d7f2535bc0be
|
|
BLAKE2b-256 checksum How to use checksums |
f16d8bf5bbc2a832381d89841baf7f02452fa66ae6cba1dc9707494236c42b72
|
| 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 Oct 15, 2026.
Transparency logRelease files / pya5-1.0.0-cp38-abi3-macosx_11_0_arm64.whl
| Download URL | pya5-1.0.0-cp38-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 437.7 kB |
| Tags | CPython 3.8 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
38d9872a4b4728273ad03d5b7e45c0d6138c8b218fb3dc53c56927b1f7530d23
|
|
BLAKE2b-256 checksum How to use checksums |
35e4242ba75bb0b5400eba8868d3500d9824cc5bd77268c6dd7f92238c0ed06c
|
| 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 Oct 15, 2026.
Transparency logRelease files / pya5-1.0.0-cp38-abi3-macosx_10_12_x86_64.whl
| Download URL | pya5-1.0.0-cp38-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 464.4 kB |
| Tags | CPython 3.8 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
576fac0cade094fee3d7b9f0faceb21e47991c4c5afbc02823ee1904a5feab5a
|
|
BLAKE2b-256 checksum How to use checksums |
153cae329212b4a4329867ecb6f41c9dc6602fedbf56213a5c2bd1c618c5d593
|
| 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 Oct 15, 2026.
Transparency log