Python extension for computing string edit distances and similarities.
Project description
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
:warning: The package was renamed to
Levenshtein
and can be found here. Thepython-Levenshtein
package will continue to be updated alongside the new package
Requirements
- Python 3.8 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 COPYING for the full text of GNU General Public License version 2.
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 Distribution
Built Distribution
File details
Details for the file python_levenshtein-0.26.1.tar.gz
.
File metadata
- Download URL: python_levenshtein-0.26.1.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24ba578e28058ebb4afa2700057e1678d7adf27e43cd1f17700c09a9009d5d3a |
|
MD5 | 7280aaecfb062217a01772e938f874a7 |
|
BLAKE2b-256 | 317258d77cb80b3c130d94f53a8204ffad9acfddb925b2fb5818ff9af0b3c832 |
File details
Details for the file python_Levenshtein-0.26.1-py3-none-any.whl
.
File metadata
- Download URL: python_Levenshtein-0.26.1-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ef5e529dd640fb00f05ee62d998d2ee862f19566b641ace775d5ae16167b2ef |
|
MD5 | d4d820ca9dc36811a601aed3da85d7e1 |
|
BLAKE2b-256 | 0fd703e0453719ed89724664f781f0255949408118093dbf77a2aa2a1198b38e |