NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #2109 most downloaded on PyPI
Calculate the distance between 2 points on Earth.
Last release 2 years ago
no release in 18 months
Ships fairly regularly
a new release about every 6 months
Most releases are documented
notes for 23 of 28 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
28 releases · first in 2013
Bump version: 2.8.1 → 2.9.0
Bump version: 2.8.1 → 2.9.0
Bump version: 2.8.0 → 2.8.1
Bump version: 2.8.0 → 2.8.1
One column per quarter.
Bump version: 2.7.0 → 2.8.0
Bump version: 2.6.0 → 2.7.0
Bump version: 2.6.0 → 2.7.0
Bump version: 2.5.1 → 2.6.0
Bump version: 2.5.1 → 2.6.0
Bump version: 2.5.0 → 2.5.1
Bump version: 2.5.0 → 2.5.1
Bump version: 2.4.1 → 2.5.0
Bump version: 2.4.1 → 2.5.0
Bump version: 2.4.0 → 2.4.1
Bump version: 2.4.0 → 2.4.1
Bump version: 2.3.1 → 2.4.0
Bump version: 2.3.1 → 2.4.0
Bump version: 2.3.0 → 2.3.1
Bump version: 2.3.0 → 2.3.1
Added the comb parameter for haversine_vector (thanks to Fd-3741) #34
Added the haversine_vector function (thanks to ccforgy) #26
Fix typo in documentation
Fix typo in documentation
Quick improvement left out at #22 Renamed Units to Unit along the way, to comply with conventions (Breaking if you were on 2.1.0)
General refactor: use Enum for available units, extract constants #22 — Paolo Lammens
General refactor: use Enum for available units, extract constants #22 — Paolo Lammens
Add a unit parameter accepting different units (miles, meter, feet, etc.)
unit parameter accepting different units (miles, meter, feet, etc.)miles and nautical_miles parameters have been removed and replaced by the unit parameter. See #20If you did not use the miles or nautical_miles, you are good to go, this is non-breaking for you !
If you did use miles or nautical_miles, you just need to do that:
- haversine(lyon, paris, miles=True)
+ haversine(lyon, paris, unit='mi')
- haversine(lyon, paris, nautical_miles=True)
+ haversine(lyon, paris, unit='nmi')
Du to a small change in the formula, the precision for miles aud nautical miles has slightly changed.
Example : distance between Lyon, France and Paris, France changed from 243.7125041070121 miles to 243.71250609539814 miles. Same for nautical miles.
slightly better precision #17
slightly better precision #17
fix wrong definition in setup.py
fix wrong definition in setup.py
(in fact there is one breaking changes but it concern the 0.5.0 version published just 10 minutes before 1.0 ;). In that case nmiles has been changed…
No changes, haversine package has been stable and functional for years now. Time to make a 1.0 version :)
(in fact there is one breaking changes but it concern the 0.5.0 version published just 10 minutes before 1.0 ;). In that case nmiles has been changed to nautical_miles for readability)
Add nautical miles support
Add nautical miles support
Fixed issue with int instead of float #6
Fixed issue with int instead of float #6
Nothing published for this version
- Remove useless code #5
Remove cPython usage: fail on Windows, no real perf gain 5d0ff179
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →