Skip to main content

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

Metadata

Release files for aversine 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aversine 0.0.1
File Size Uploaded
aversine-0.0.1.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aversine 0.0.1
File Interpreter ABI Platform
aversine-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.3 kB

Release files / aversine-0.0.1.tar.gz

Download URL aversine-0.0.1.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
32835b4977c3f80a49d909afe8c1edb82ea6ea50128152ed5c60a8762ceb8f97
BLAKE2b-256 checksum
How to use checksums
58dbacb3476699403dbecfafedf0bb53a4983440681a7725c83c57da7f3ab535
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

Release files / aversine-0.0.1-py3-none-any.whl

Download URL aversine-0.0.1-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b76ac793e2f5cf876c61b44bbe232e41f48f1dc5386d5cbd649681e701f2194
BLAKE2b-256 checksum
How to use checksums
86c6463ec6ac49438cb64d0de8e7f0f762b239fb76c6171adbd263972afd62c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page