{ "info": { "author": "Marius Muja & Gefu Tang, Maintainer: Russi Chatterjee", "author_email": "root@ixaxaar.in", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6" ], "description": "pyflann\n=======\n\n1. Introduction\n~~~~~~~~~~~~~~~\n\npyflann is the python bindings for `FLANN - Fast Library for Approximate\nNearest Neighbors `__.\n\n2. Install\n~~~~~~~~~~\n\nFor python2\n^^^^^^^^^^^\n\nThis package uses distutils, which is the default way of installing\npython modules. To install in your home directory, securely run the\nfollowing:\n\n::\n\n git clone https://github.com/primetang/pyflann.git\n cd pyflann\n [sudo] python setup.py install\n\nOr directly through ``pip`` to install it:\n\n::\n\n [sudo] pip install pyflann\n\nFor python3\n^^^^^^^^^^^\n\nPlease refer to `this\nissuse `__ to modify the\ncode.\n\n3. Usage\n~~~~~~~~\n\nUse it just like the following code:\n\n.. code:: python\n\n from pyflann import *\n import numpy as np\n\n dataset = np.array(\n [[1., 1, 1, 2, 3],\n [10, 10, 10, 3, 2],\n [100, 100, 2, 30, 1]\n ])\n testset = np.array(\n [[1., 1, 1, 1, 1],\n [90, 90, 10, 10, 1]\n ])\n flann = FLANN()\n result, dists = flann.nn(\n dataset, testset, 2, algorithm=\"kmeans\", branching=32, iterations=7, checks=16)\n print result\n print dists\n\n dataset = np.random.rand(10000, 128)\n testset = np.random.rand(1000, 128)\n flann = FLANN()\n result, dists = flann.nn(\n dataset, testset, 5, algorithm=\"kmeans\", branching=32, iterations=7, checks=16)\n print result\n print dists\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pypa/flann", "keywords": "Approximate Nearest Neighbors", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "flann", "package_url": "https://pypi.org/project/flann/", "platform": "", "project_url": "https://pypi.org/project/flann/", "project_urls": { "Homepage": "https://github.com/pypa/flann" }, "release_url": "https://pypi.org/project/flann/1.6.13/", "requires_dist": [ "numpy", "check-manifest; extra == 'dev'", "coverage; extra == 'test'" ], "requires_python": ">=3", "summary": "flann is the python 3.6 bindings for FLANN - Fast Library for Approximate Nearest Neighbors.", "version": "1.6.13" }, "last_serial": 5229452, "releases": { "1.6.13": [ { "comment_text": "", "digests": { "md5": "cbf04cdc2c4b2c44525d9b753d216f2d", "sha256": "b1d1268b186a74495cf20b7487bfbbe24394de156db964aa904707eff6a2629c" }, "downloads": -1, "filename": "flann-1.6.13-py3-none-any.whl", "has_sig": false, "md5_digest": "cbf04cdc2c4b2c44525d9b753d216f2d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 24314, "upload_time": "2019-05-05T19:58:05", "url": "https://files.pythonhosted.org/packages/7f/c9/59155f5b615a84688b34f6ae62e598d70306082754af94ddeb3cb3475188/flann-1.6.13-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2d1f0db4e22f2734ae2199d1cc642769", "sha256": "739f69cc3bd84dab5c2013e9ca38d16786f50ed129632071ec8adeb12dca209d" }, "downloads": -1, "filename": "flann-1.6.13.tar.gz", "has_sig": false, "md5_digest": "2d1f0db4e22f2734ae2199d1cc642769", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 11976, "upload_time": "2019-05-05T19:58:07", "url": "https://files.pythonhosted.org/packages/67/ba/04b7e7d0c84a7c9931cfaee088a2c70b8327538f76eae8b8d7f81f9748db/flann-1.6.13.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cbf04cdc2c4b2c44525d9b753d216f2d", "sha256": "b1d1268b186a74495cf20b7487bfbbe24394de156db964aa904707eff6a2629c" }, "downloads": -1, "filename": "flann-1.6.13-py3-none-any.whl", "has_sig": false, "md5_digest": "cbf04cdc2c4b2c44525d9b753d216f2d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 24314, "upload_time": "2019-05-05T19:58:05", "url": "https://files.pythonhosted.org/packages/7f/c9/59155f5b615a84688b34f6ae62e598d70306082754af94ddeb3cb3475188/flann-1.6.13-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2d1f0db4e22f2734ae2199d1cc642769", "sha256": "739f69cc3bd84dab5c2013e9ca38d16786f50ed129632071ec8adeb12dca209d" }, "downloads": -1, "filename": "flann-1.6.13.tar.gz", "has_sig": false, "md5_digest": "2d1f0db4e22f2734ae2199d1cc642769", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 11976, "upload_time": "2019-05-05T19:58:07", "url": "https://files.pythonhosted.org/packages/67/ba/04b7e7d0c84a7c9931cfaee088a2c70b8327538f76eae8b8d7f81f9748db/flann-1.6.13.tar.gz" } ] }