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
Release history Release notifications | RSS feed
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
File details
Details for the file levenshtein_py-1.0.3-cp38-none-win_amd64.whl
.
File metadata
- Download URL: levenshtein_py-1.0.3-cp38-none-win_amd64.whl
- Upload date:
- Size: 104.5 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cdb3b1e09cf2a5bd855eda2df4552f816d55a766a35debfd939738a3e3f1349 |
|
MD5 | 23c9ec99567af019777cf52ee35e1c21 |
|
BLAKE2b-256 | 5bc8a5d5486443e74e425a8eab5cd395477222584f33ca5beda9cfa2c9d4f943 |
File details
Details for the file levenshtein_py-1.0.3-cp37-none-win_amd64.whl
.
File metadata
- Download URL: levenshtein_py-1.0.3-cp37-none-win_amd64.whl
- Upload date:
- Size: 104.5 kB
- Tags: CPython 3.7, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec2710bcce75aa39716f2170ee80647831eb948067e52ed8473d2367936655c0 |
|
MD5 | 6d8f6419de4b55b7b9383c8b0c589e62 |
|
BLAKE2b-256 | 2f61d5d991f3d4c5773f1c0081f07c7e058432ba3c8f4ba624d9b4a7aa5286bd |
File details
Details for the file levenshtein_py-1.0.3-cp36-none-win_amd64.whl
.
File metadata
- Download URL: levenshtein_py-1.0.3-cp36-none-win_amd64.whl
- Upload date:
- Size: 104.8 kB
- Tags: CPython 3.6, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b75fa6d363589dfc042e9bf7550abcbac052e97620bddad0c58ae0452889afc9 |
|
MD5 | 780f52fe9d09cf3347c15c5c71b31392 |
|
BLAKE2b-256 | 9901ba053e35651113777af9b67b8220110e44b942aad6e9e6f45bf07d7cc99b |