weighted-levenshtein

Library providing functions to calculate Levenshtein distance, Optimal String Alignment distance, and Damerau-Levenshtein distance, where the cost of each operation can be weighted by letter.

Installation

In a virtualenv (see these instructions if you need to create one):

pip3 install weighted-levenshtein

Dependencies

  • None

Releases

Version Released Bullseye
Python 3.9
Bookworm
Python 3.11
Trixie
Python 3.13
Files
0.2.2 2023-01-31      
0.2.1 2018-05-16      
0.2 2018-02-19      
0.1 2016-08-10      

Issues with this package?

Page last updated 2026-02-28 16:58:36 UTC