Skip to main content

Python wrapper for Arya and Mount's ANN library (v1.1.3)

Project description

PyANN

Release Version Documentation Status

Finds the k nearest neighbours for every point in a given dataset in O(N log N) time using Arya and Mount's ANN library (v1.1.3). There is support for approximate as well as exact searches, fixed radius searches and bd as well as kd trees.

This package implements nearest neighbors for the Euclidean (L2) metric.

For further details on the underlying ANN library, see http://www.cs.umd.edu/~mount/ANN.

PyANN was written to be the Python equivalent of the R package RANN. For further details on the R implementation, see RANN.

Requirements

Python Version

PyANN requires Python>=3.6 due to the use of type annotations in the source code, which was implemented in Python 3.6.

Dependencies

Installation

PyPI

The recommendation is to install the latest released version from PyPI by doing:

pip install pyann

Source

To install PyANN from source you need Cython and setuptools >=18.0 in addition to the normal dependencies above. Cython can be installed from PyPI:

pip install cython

In the PyANN directory (same one where you found this file after cloning the git repo), execute:

python setup.py install

Documentation

Documentation for PyANN is available at: https://pyann.readthedocs.io/en/latest/

Feedback

Please feel free to:

Copyright and License

see COPYRIGHT and LICENSE files for copyright and license information.

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

pyann-0.0.1.tar.gz (58.9 kB view hashes)

Uploaded Source

Built Distributions

pyann-0.0.1-py3.7-macosx-10.14-x86_64.egg (71.4 kB view hashes)

Uploaded Source

pyann-0.0.1-cp38-cp38-win32.whl (42.6 kB view hashes)

Uploaded CPython 3.8 Windows x86

pyann-0.0.1-cp37-cp37m-win32.whl (42.2 kB view hashes)

Uploaded CPython 3.7m Windows x86

pyann-0.0.1-cp37-cp37m-macosx_10_14_x86_64.whl (62.6 kB view hashes)

Uploaded CPython 3.7m macOS 10.14+ x86-64

pyann-0.0.1-cp36-cp36m-win32.whl (42.1 kB view hashes)

Uploaded CPython 3.6m Windows x86

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