Weighted Levenshtein
Codebase forked from https://github.com/infoscout/weighted-levenshtein
Install
pip3 install weighted-levenshtein-substring
Usage
Use
from weighted_levenshtein import mod_lev
distance: float = mod_lev(string, pattern)
To find the lowest edit distance between pattern and any substring of string.
Metadata
Release files for weighted-levenshtein-substring 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| weighted_levenshtein-substring-0.0.3.tar.gz | 135.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| weighted_levenshtein_substring-0.0.3-cp37-cp37m-macosx_10_9_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | macOS 10.9+ x86-64 | Details |
Total release size: 224.1 kB
Release files / weighted_levenshtein-substring-0.0.3.tar.gz
| Download URL | weighted_levenshtein-substring-0.0.3.tar.gz |
|---|---|
| Size | 135.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84c9507bafe150e3d0823833ee8a222f6e8ecdcfb663e6cdc6345130b0ab10d1
|
|
BLAKE2b-256 checksum How to use checksums |
e27eb4bd05fcdc25434dab380c01111aff49bedfaac7a30bfbc19580deb7ae0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.12
|
Release files / weighted_levenshtein_substring-0.0.3-cp37-cp37m-macosx_10_9_x86_64.whl
| Download URL | weighted_levenshtein_substring-0.0.3-cp37-cp37m-macosx_10_9_x86_64.whl |
|---|---|
| Size | 89.1 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
03f3114d60e823971e70e88d6ad9e1fccc814deb49386c9b6f27068c94c4add9
|
|
BLAKE2b-256 checksum How to use checksums |
663699375aec96a786d81acc85a3435fa161212133af1f20d693a1125e325cb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.12
|
Security for weighted-levenshtein-substring 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.