Skip to main content

No project description provided

Project description

levenshtein_py

Library for Python3 that uses the levenshtein-rs.

How to import

# pylint: disable=no-name-in-module
from levenshtein_py import LevenshteinPy

Signature and how to use

/**
  * 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]

Used libraries

https://github.com/wooorm/levenshtein-rs
https://github.com/PyO3/pyo3

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release. See tutorial on generating distribution archives.

Built Distributions

levenshtein_py-1.0.3-cp38-none-win_amd64.whl (104.5 kB view hashes)

Uploaded cp38

levenshtein_py-1.0.3-cp37-none-win_amd64.whl (104.5 kB view hashes)

Uploaded cp37

levenshtein_py-1.0.3-cp36-none-win_amd64.whl (104.8 kB view hashes)

Uploaded cp36

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page