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 CPython 3.8 Windows x86-64

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

Uploaded CPython 3.7 Windows x86-64

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

Uploaded CPython 3.6 Windows x86-64

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