Comparison
geolib vs h3 vs pygeohash vs s2sphere
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A library for geohash encoding, decoding and associated functions
Likely abandoned. No release or commit for years (last release over 7 years ago).
pip install geolibUber'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 10 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
- geolib 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.