fuzzyfinder


Namefuzzyfinder JSON
Version 2.1.0 PyPI version JSON
download
home_pagehttps://github.com/amjith/fuzzyfinder
SummaryFuzzy Finder implemented in Python.
upload_time2018-01-28 18:48:15
maintainer
docs_urlNone
authorAmjith Ramanujam
requires_python
licenseBSD
keywords fuzzyfinder
VCS
bugtrack_url
requirements pytest pytest-cov coveralls wheel
Travis-CI
coveralls test coverage No coveralls.
            ===============================
fuzzyfinder
===============================

.. image:: https://img.shields.io/travis/amjith/fuzzyfinder.svg
        :target: https://travis-ci.org/amjith/fuzzyfinder

.. image:: https://img.shields.io/pypi/v/fuzzyfinder.svg
        :target: https://pypi.python.org/pypi/fuzzyfinder


Fuzzy Finder implemented in Python. Matches partial string entries from a list
of strings. Works similar to fuzzy finder in SublimeText and Vim's Ctrl-P
plugin.

* Documentation: https://fuzzyfinder.readthedocs.org.
* Source: https://github.com/amjith/fuzzyfinder

.. image:: https://raw.githubusercontent.com/amjith/fuzzyfinder/master/screenshots/pgcli-fuzzy.gif 

Quick Start
-----------

::

    $ pip install fuzzyfinder

    or 

    $ easy_install fuzzyfinder

Usage
-----

::

    >>> from fuzzyfinder import fuzzyfinder

    >>> suggestions = fuzzyfinder('abc', ['abcd', 'defabca', 'aagbec', 'xyz', 'qux'])

    >>> list(suggestions)
    ['abcd', 'defabca', 'aagbec']

Features
--------

* Simple, easy to understand code.
* No external dependencies, just the python std lib.

How does it work
----------------

Blog post describing the algorithm: http://blog.amjith.com/fuzzyfinder-in-10-lines-of-python

Similar Projects
----------------

* https://github.com/seatgeek/fuzzywuzzy - Fuzzy matching and auto-correction using levenshtein distance.




Changelog
---------

2.0.0 (2017-01-25)
---------------------

* Case insensitive matching. (Gokul Soumya)
* Add an accessor function for fuzzy find. (Amjith)
* Support integer inputs. (Matheus)

2.1.0 (2017-01-25)
---------------------

* Use lookahead regex to find shortest match. (Gokul Soumya)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/amjith/fuzzyfinder",
    "name": "fuzzyfinder",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "fuzzyfinder",
    "author": "Amjith Ramanujam",
    "author_email": "amjith.r@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/44/ef/b526179eef7d8567b75e1df52c5163b4d1259de51478516ea139584695d2/fuzzyfinder-2.1.0.tar.gz",
    "platform": "",
    "description": "===============================\nfuzzyfinder\n===============================\n\n.. image:: https://img.shields.io/travis/amjith/fuzzyfinder.svg\n        :target: https://travis-ci.org/amjith/fuzzyfinder\n\n.. image:: https://img.shields.io/pypi/v/fuzzyfinder.svg\n        :target: https://pypi.python.org/pypi/fuzzyfinder\n\n\nFuzzy Finder implemented in Python. Matches partial string entries from a list\nof strings. Works similar to fuzzy finder in SublimeText and Vim's Ctrl-P\nplugin.\n\n* Documentation: https://fuzzyfinder.readthedocs.org.\n* Source: https://github.com/amjith/fuzzyfinder\n\n.. image:: https://raw.githubusercontent.com/amjith/fuzzyfinder/master/screenshots/pgcli-fuzzy.gif \n\nQuick Start\n-----------\n\n::\n\n    $ pip install fuzzyfinder\n\n    or \n\n    $ easy_install fuzzyfinder\n\nUsage\n-----\n\n::\n\n    >>> from fuzzyfinder import fuzzyfinder\n\n    >>> suggestions = fuzzyfinder('abc', ['abcd', 'defabca', 'aagbec', 'xyz', 'qux'])\n\n    >>> list(suggestions)\n    ['abcd', 'defabca', 'aagbec']\n\nFeatures\n--------\n\n* Simple, easy to understand code.\n* No external dependencies, just the python std lib.\n\nHow does it work\n----------------\n\nBlog post describing the algorithm: http://blog.amjith.com/fuzzyfinder-in-10-lines-of-python\n\nSimilar Projects\n----------------\n\n* https://github.com/seatgeek/fuzzywuzzy - Fuzzy matching and auto-correction using levenshtein distance.\n\n\n\n\nChangelog\n---------\n\n2.0.0 (2017-01-25)\n---------------------\n\n* Case insensitive matching. (Gokul Soumya)\n* Add an accessor function for fuzzy find. (Amjith)\n* Support integer inputs. (Matheus)\n\n2.1.0 (2017-01-25)\n---------------------\n\n* Use lookahead regex to find shortest match. (Gokul Soumya)\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "Fuzzy Finder implemented in Python.",
    "version": "2.1.0",
    "split_keywords": [
        "fuzzyfinder"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "3fc40d44f39c222b2b856e6633562c66",
                "sha256": "aa8223e31bd12fefd3f94c3c46c60b64692594efaa05f5d93e24353e57d57572"
            },
            "downloads": -1,
            "filename": "fuzzyfinder-2.1.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3fc40d44f39c222b2b856e6633562c66",
            "packagetype": "bdist_wheel",
            "python_version": "2.7",
            "requires_python": null,
            "size": 4750,
            "upload_time": "2018-01-28T18:51:41",
            "upload_time_iso_8601": "2018-01-28T18:51:41.654791Z",
            "url": "https://files.pythonhosted.org/packages/6c/80/e23249f1119435d00d0a226debbb0390de4b6ad456c1939de94512b946c8/fuzzyfinder-2.1.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "72f4591649d40c305e9df8ed6eb62bee",
                "sha256": "c56d86f110866becad6690c7518f7036c20831c0f82fc87eba8fdb943132f04b"
            },
            "downloads": -1,
            "filename": "fuzzyfinder-2.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "72f4591649d40c305e9df8ed6eb62bee",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 13257,
            "upload_time": "2018-01-28T18:48:15",
            "upload_time_iso_8601": "2018-01-28T18:48:15.492661Z",
            "url": "https://files.pythonhosted.org/packages/44/ef/b526179eef7d8567b75e1df52c5163b4d1259de51478516ea139584695d2/fuzzyfinder-2.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2018-01-28 18:48:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "amjith",
    "github_project": "fuzzyfinder",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "pytest",
            "specs": []
        },
        {
            "name": "pytest-cov",
            "specs": []
        },
        {
            "name": "coveralls",
            "specs": []
        },
        {
            "name": "wheel",
            "specs": [
                [
                    "==",
                    "0.23.0"
                ]
            ]
        }
    ],
    "tox": true,
    "lcname": "fuzzyfinder"
}
        
Elapsed time: 0.01810s