Comparison
h3 vs pygeohash vs python-geohash 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 pygeohashFast, accurate python geohashing library
Maintained. Last release 6 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity.
pip install python-geohashPython 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, python-geohash 48 on Pythie’s Index.
- python-geohash is growing fastest: downloads +20% over the last month.
- Safe default for a new project: h3.
Side by side
| Metric | h3 | pygeohash | python-geohash | s2sphere |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 94 | 85 |