Skip to main content

Fuzzy Finder implemented in Python.

Project description

https://img.shields.io/travis/amjith/fuzzyfinder.svg https://img.shields.io/pypi/v/fuzzyfinder.svg

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.

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

TODO: Add a link to the algorithm description.

Similar Projects

History

0.1.0 (2015-06-05)

  • First release on PyPI.

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

fuzzyfinder-0.1.0.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

fuzzyfinder-0.1.0-py2.py3-none-any.whl (4.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file fuzzyfinder-0.1.0.tar.gz.

File metadata

  • Download URL: fuzzyfinder-0.1.0.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fuzzyfinder-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7b068b64d8ab9fb8b46534984dd7d2615efe80d4333264e1acbe46679a57944e
MD5 b640eb7bc2217477e22c7f359373fa18
BLAKE2b-256 eecc385b48342dd7cb7ff607ec5ac39432566385c3dfa541d13d8c9aff03d383

See more details on using hashes here.

File details

Details for the file fuzzyfinder-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for fuzzyfinder-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d053b98d37bdccec6a3c4e828f8e839add270e3b6e438f6e282b05d5bf0d7065
MD5 221a54d9a4136d231732dc9b4e02e44a
BLAKE2b-256 25085ccaf588ed62abd03e2ab5abec302f76153c5de87bcdd8b10f6930cae557

See more details on using hashes here.

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