CMD + K

python-levenshtein

Community

Python extension for computing string edit distances and similarities.

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::python-levenshtein

Usage Tracking

0.27.3
0.27.1
0.26.1
0.26.0
0.25.1
5 / 8 versions selected
Downloads (Last 6 months): 0

Description

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.

About

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

noarch

Unsupported Platforms

linux-ppc64le Last supported version: 0.12.2
macOS-arm64 Last supported version: 0.12.2
linux-64 Last supported version: 0.12.2
win-32 Last supported version: 0.12.0
linux-aarch64 Last supported version: 0.12.2
macOS-64 Last supported version: 0.12.2
win-64 Last supported version: 0.12.2