Comparison
geographiclib vs haversine vs pygeodesy
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
The geodesic routines from GeographicLib
Low maintenance activity. Last release 15 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install geographiclibCalculate the distance between 2 points on Earth.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install haversinePure Python geodesy tools
Actively maintained. Last release 3 weeks ago, commits in 16 of the last 26 weeks. A safe choice.
$
pip install pygeodesyIn short
- haversine is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- geographiclib is the most used: 11.7M downloads a month, 4.3× more than haversine.
- pygeodesy is better maintained: Pythie’s Index 82 against 33.
- pygeodesy is growing fastest: downloads +49% over the last month.
Side by side
| Metric | geographiclib | haversine | pygeodesy |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 33 | 18 |