python-levenshtein
Python extension for computing string edit distances and similarities.
Python extension for computing string edit distances and similarities.
To install this package, run one of the following:
A Python extension written in C for fast computation of: Levenshtein (edit) distance and edit sequence manipulation; string similarity; approximate median strings, and generally string averaging; string sequence and set similarity. Levenshtein has a some overlap with difflib (SequenceMatcher). It supports only strings, not arbitrary sequence types, but on the other hand it's much faster. Note the project was renamed, and python-Levenshtein is now just a metapackage installing the Levenshtein package.
Summary
Python extension for computing string edit distances and similarities.
Last Updated
Nov 2, 2025 at 01:04
License
GPL-2.0-or-later
Total Downloads
2.2M
Supported Platforms
Unsupported Platforms
GitHub Repository
https://github.com/maxbachmann/python-LevenshteinDocumentation
https://github.com/maxbachmann/Levenshtein