Levenshtein

Latest version: v0.27.1

Safety actively analyzes 714792 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 9

0.5.0

* a segfault in setratio() was fixed
* median() handles all empty strings situation more gracefully

0.4.0

* new functions seqratio() and setratio() computing similarity between
string sequences and sets
* Levenshtein optimizations (affects all routines except median())
* all Sequence objects are accepted, not just Lists

0.3.0

* setmedian() finding set median was added
* median() initial overhead for Unicodes was reduced

0.2.0

* ratio() and distance() now accept both Strings and Unicodes
* removed uratio() and udistance()
* Levenshtein.c is now compilable as a C library (with -DNO_PYTHON)
* a median() function finding approximate weighted median of a string
set was added

0.1.0

* Initial release

Page 9 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.