Comparison
geohash2 vs h3 vs pygeohash vs s2sphere
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
(Geohash fixed for python3) Module to decode/encode Geohashes to/from latitude and longitude. See http://en.wikipedia.org/wiki/Geohash
Likely abandoned. No release or commit for years (last release over 9 years ago).
pip install geohash2Uber's hierarchical hexagonal geospatial indexing system
Actively maintained. Last release 2 weeks ago, commits in 18 of the last 26 weeks. A safe choice.
pip install h3Python module for interacting with geohashes
Actively maintained. Last release 9 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
- geohash2 looks abandoned: avoid it for new projects.
- s2sphere looks abandoned: avoid it for new projects.
- h3 is the most used: 14.2M downloads a month, 9.3× more than pygeohash.
- Maintenance is comparable: h3 94, pygeohash 85 on Pythie’s Index.
- Safe default for a new project: h3.