fuzzywuzzy vs python-Levenshtein

Python string matching projects compared

fuzzywuzzy and python-Levenshtein both help compare strings that may differ slightly. fuzzywuzzy focuses on fuzzy matching in Python and is archived, while python-Levenshtein provides specific distance and similarity operations through a C-backed Python extension and can also be compiled as a C library.

fuzzywuzzypython-Levenshtein
LanguagePythonC
LicenseGPL-2.0GPL-2.0
Stars9.2k1.3k
Forks850151
Last analyzedOct 10, 2026Oct 19, 2026

Key differences

  • fuzzywuzzy provides fuzzy string matching, while python-Levenshtein exposes edit distance, edit operations, similarity, and related string operations.
  • fuzzywuzzy is a Python library; python-Levenshtein is implemented as a C extension for Python and can also be compiled as a C library.
  • python-Levenshtein includes approximate median strings and similarity across sequences and sets, which are not listed among fuzzywuzzy's features.
  • fuzzywuzzy is archived and directs new development to TheFuzz; python-Levenshtein is not archived, though its README seeks a new maintainer and its last recorded push was in 2021.
  • Both projects use the GPL-2.0 license.

Choose fuzzywuzzy if you…

  • compare strings that are not exact matches in Python and want fuzzy matching.
  • are an existing user looking for the successor project, TheFuzz, as the path for new development.
Read the fuzzywuzzy analysis →

Choose python-Levenshtein if you…

  • need edit distance, edit operations, or string similarity calculations in Python.
  • want approximate median strings, sequence or set similarity, or a C library interface.
Read the python-Levenshtein analysis →

Compare the numbers side by side, or add more projects

This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.