Python-levenshtein

Latest version: v0.25.1

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

Scan your dependencies

Page 8 of 9

0.7.0

* fixed greedy median() for Unicode characters > U+FFFF, it's now usable
with whatever integer type wchar_t happens to be
* added missing MANIFEST
* renamed exported C functions, all public names now have lev_, LEV_ or
Lev prefix; defined lev_byte, lev_wchar, and otherwise santinized
the (still unstable) C interface
* added edit-ops group of functions, with two interfaces: native, useful
for string averaging, and difflib-like for interoperability
* added an example SequenceMatcher-like class StringMatcher

0.6.0

* a segfault in seqratio()/setratio() on invalid input has been fixed
to an exception
* optimized ratio() and distance() (about 20%)
* Levenshtein.h header file was added to make it easier to actually use
it as a C library

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

Page 8 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.