Comparison
h3 vs pygeohash vs s2sphere
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Uber's hierarchical hexagonal geospatial indexing system
Actively maintained. Last release 13 days ago, commits in 16 of the last 26 weeks. A safe choice.
$
pip install h3Python module for interacting with geohashes
Actively maintained. Last release 8 days ago, commits in 14 of the last 26 weeks. A safe choice.
$
pip install pygeohashPython implementation of the S2 Geometry Library
Likely abandoned. No release or commit for years (last release over 9 years ago).
$
pip install s2sphereIn short
- s2sphere looks abandoned: avoid it for new projects.
- h3 is the most used: 14.1M downloads a month, 9.2× more than pygeohash.
- Maintenance is comparable: h3 94, pygeohash 85 on Pythie’s Index.
- Safe default for a new project: h3.