Installation

The recommended method to install Levenshtein is by using pip (the Python package manager)

using pip

Levenshtein can be installed with pip:

pip install levenshtein

There are pre-built binaries (wheels) of Levenshtein for MacOS (10.9 and later), Linux x86_64 and Windows.

from git

Levenshtein can be directly used from GitHub by cloning the repository which might be useful when you want to work on it:

git clone https://github.com/rapidfuzz/Levenshtein.git
cd Levenshtein
pip install .