aversine

Python implementation of haversine formula to determine the great-circle distance between two points on a sphere given their longitudes and latitudes.


License
MIT
Install
pip install aversine==0.0.1

Documentation

haversine Build Status

Python implementation of haversine formula to determine the great-circle distance between two points on a given sphere knowning their longitudes and latitudes.

Installation

pip install  aversine

Usage

    from from haversine import haversine

    haversine.Haversine()
    location_a, location_b = (45.7597, 4.8422), (48.8567, 2.3508)
    haversine.distance(location_a, location_b) # => 392.2167178065958