{"id":23771,"library":"fuzzyfinder","title":"fuzzyfinder","description":"A lightweight Python library for fuzzy string matching and autocompletion. It uses fuzzy search algorithms to find approximate matches based on Levenshtein distance. Current version 2.3.0, released 2025-03-07. Maintained, with low release cadence.","status":"active","version":"2.3.0","language":"python","source_language":"en","source_url":"https://github.com/azizka/fuzzyfinder","tags":["fuzzy-search","string-matching","autocomplete"],"install":[{"cmd":"pip install fuzzyfinder","lang":"bash","label":"PyPI"}],"dependencies":[],"imports":[{"note":"Main function for fuzzy matching.","wrong":null,"symbol":"fuzzyfinder","correct":"from fuzzyfinder import fuzzyfinder"}],"quickstart":{"code":"from fuzzyfinder import fuzzyfinder\n\n# Sample list of strings\nstrings = ['apple', 'banana', 'grape', 'pineapple', 'orange']\n# Fuzzy search for 'app' with default threshold\nresults = fuzzyfinder('app', strings)\nprint(results)  # Output: ['apple', 'pineapple']","lang":"python","description":"Basic usage: fuzzyfinder(search_term, list_of_strings) returns list of matches."},"warnings":[{"fix":"Avoid using `accessor`; pass a list of strings directly.","message":"The `accessor` argument is deprecated and will be removed in future versions.","severity":"deprecated","affected_versions":">=2.0.0,<3.0.0"},{"fix":"Use Python >=3.10.","message":"In version 2.0.0, the library dropped support for Python 2 and Python <3.10.","severity":"breaking","affected_versions":">=2.0.0"},{"fix":"Check for empty list rather than None: if not results: ...","message":"The function returns an empty list if no matches are found, not `None`.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run: pip install fuzzyfinder","cause":"The library is not installed or not in the current environment.","error":"ModuleNotFoundError: No module named 'fuzzyfinder'"},{"fix":"Use correct import: from fuzzyfinder import fuzzyfinder","cause":"The import statement is incorrect (e.g., import fuzzyfinder then calling fuzzyfinder.fuzzyfinder).","error":"AttributeError: module 'fuzzyfinder' has no attribute 'fuzzyfinder'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}