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.6 or later
Installation
pip install levenshtein
Documentation
The documentation for the current version can be found at https://maxbachmann.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
Hashes for python-Levenshtein-0.21.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c97f60e694dcfc4eae7fabc19490e0892b212d975d70d1b14fc109e58c33b0bf |
|
MD5 | 993f5a4cbe95cca134e6637065d0fc57 |
|
BLAKE2b-256 | f26b4a03914df5e8a76a7dab8eeade75cbc87790823f293a11a77f25ed9524bd |
Hashes for python_Levenshtein-0.21.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e05a10989cae751669dc08c5d4934e2da489c9afb1545ecc1d8c8edb822b5ae |
|
MD5 | 207c6d59c536066982a909dfafcd0d4c |
|
BLAKE2b-256 | 62b9eebe6a6a4bfd681004be0db6a0b604950368e787f31626dbc93ccbc59aaa |