Skip to main content

Haversine function using pybind11

Project description

pyHaversine

PyPI

An simple project built with pybind11. This requires Python 3.6+; for older versions of Python, check the commit history.

Installation

  • Use pip install pyhaversine directly

Or, manually:

  • clone this repository
  • pip install ./pyhaversine

Building the documentation (no available)

Documentation for the example project is generated using Sphinx. Sphinx has the ability to automatically inspect the signatures and documentation strings in the extension module to generate beautiful documentation in a variety formats. The following command generates HTML-based reference documentation; for other formats please refer to the Sphinx manual:

  • cd pyhaversine/docs
  • make html

License

pybind11 is provided under a BSD-style license that can be found in the LICENSE file. By using, distributing, or contributing to this project, you agree to the terms and conditions of this license.

Test call

import pyhaversine
pyhaversine.haversine((1.0, 2.0), (3.0, 4.0))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyhaversine-0.0.3.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

pyhaversine-0.0.3-cp38-cp38-win_amd64.whl (53.6 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page