Library for Python3 that uses the levenshtein-rs.
# pylint: disable=no-name-in-module
from levenshtein_py import LevenshteinPy
/**
* Filter function returns filted collection by Levenshtein Algorithm.
* @input str.
* @distance int (cant be lower than 0).
* @collection List[str] - collection to search over.
* @returns List[str] - filtered collection.
*/
LevenshteinPy.filter(input: str, distance: int, collection: List[str]) -> List[str]
https://github.com/wooorm/levenshtein-rs
https://github.com/PyO3/pyo3