{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development"},{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/2"}],"enrichment":{"capability":"Provides fuzzy string matching with match indices using the fzy algorithm, including async matching and substring scoring.","skillfed_tags":["fuzzy-matching","search-algorithm","abandoned"],"use_cases":["Build a fuzzy finder CLI tool that highlights matched characters in search results","Implement autocomplete or search filtering in a terminal application","Score and rank candidates in a list based on fuzzy query matching","Integrate fuzzy matching into an editor or IDE plugin","Filter file or command lists with user-friendly approximate matching"],"what_it_does":"pfzy is a Python port of the fzy fuzzy string matching algorithm, designed to find and score string matches while also returning the indices of matched characters. Unlike some other fuzzy matching libraries, it provides both a match score and the positions where characters matched, which is essential for applications like fuzzy finders that need to highlight matching characters in results.\n\nThe package offers three main components: an async fuzzy match function for matching a query against a list of candidates, a fzy scorer for fuzzy string matching, and a substring scorer for exact substring matching. It has no runtime dependencies and supports Python 3.7 and later. The implementation is based on the original fzy algorithm and has been extracted from terminal fuzzy finder projects like sweep.py and vim-clap.","worth_installing":"Yes, if you need fuzzy matching with character indices for a fuzzy finder or search interface. The zero-dependency install and permissive MIT license make it low-risk. However, the package is abandoned and has not been updated since January 2022, so consider it only for stable, self-contained use cases where you won't need ongoing maintenance or compatibility updates."},"id":"pfzy","links":{"html":"https://skillfed.io/packages/pfzy","md":"https://skillfed.io/packages/pfzy.md","pypi":"https://pypi.org/project/pfzy/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2022-01-28","license_spdx":null,"license_treatment":"permissive","name":"pfzy","python_support":"supports_current","summary":"Python port of the fzy fuzzy string matching algorithm"},"popularity":{"monthly_downloads":16565697,"position":1147,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.3.4"}
