Levenshtein
Introduction
The Levenshtein Python C extension module contains functions for fast computation of:
- Levenshtein (edit) distance, and edit operations
- string similarity
- approximate median strings, and generally string averaging
- string sequence and set similarity
⚠️ The package was renamed to
Levenshteinand can be found here. Thepython-Levenshteinpackage will continue to be updated alongside the new package
Requirements
- Python 3.10 or later
Installation
pip install levenshtein
Documentation
The documentation for the current version can be found at https://rapidfuzz.github.io/Levenshtein/
Support the project
If you are using Levenshtein for your work and feel like giving a bit of your own benefit back to support the project, consider sending us money through GitHub Sponsors or PayPal that we can use to buy us free time for the maintenance of this great library, to fix bugs in the software, review and integrate code contributions, to improve its features and documentation, or to just take a deep breath and have a cup of tea every once in a while. Thank you for your support.
Support the project through GitHub Sponsors or via PayPal:
License
Levenshtein is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
See the file LICENSE for the full text of GNU General Public License version 2.
Metadata
Release files for python-Levenshtein 0.27.5
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 | Actions |
|---|---|---|---|---|
| python_levenshtein-0.27.5.tar.gz | 9.4 kB | Without provenance | Details for python_levenshtein-0.27.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_levenshtein-0.27.5-py3-none-any.whl | Python 3 | none | any | Details for python_levenshtein-0.27.5-py3-none-any.whl |
Total release size: 18.9 kB
Release files / python_levenshtein-0.27.5.tar.gz
| Download URL | python_levenshtein-0.27.5.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b01ad92a8e775bae997b60758fb7acc65c8bbd3f77892190616ddc86073c10bd
|
|
BLAKE2b-256 checksum How to use checksums |
cb586e554f8a0a36f8a5bb6f3d186d42af46ccc7af275dc467ac55f4269d04fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / python_levenshtein-0.27.5-py3-none-any.whl
| Download URL | python_levenshtein-0.27.5-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da716ff072204e2a6432c68bd9ff92c3e7f1202e4a908640717f191dbb482693
|
|
BLAKE2b-256 checksum How to use checksums |
4a2c9bcea060eb5231d33ca753e6e6a7c2fa42cbfd068a1cbb46f8b1f62d9d14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for python-Levenshtein 0.27.5
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.