Comparison
haversine vs pygeodesy
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Calculate 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 12 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.
- pygeodesy is the most used: 597.8K downloads a month.
- pygeodesy also has the best Pythie’s Index (80).
- pygeodesy is growing fastest: downloads +37% over the last month.
- Safe default for a new project: pygeodesy.