Levenshtein

Latest version: v0.27.1

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

Scan your dependencies

Page 8 of 9

0.9.0

* a poor-but-fast generalized median method quickmedian() was added
* some auxiliary functions added to the C api (lev_set_median_index,
lev_editops_normalize, ...)

0.8.2

* fixed missing `static' in the method list

0.8.1

* some compilation problems with non-gcc were fixed

0.8.0

* median_improve(), a generalized median improving function, was added
* an arbitrary length limitation imposed on greedy median() result was
removed
* out of memory should be handled more gracefully (on systems w/o memory
overcomitting)
* the documentation now passes doctest

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

Page 8 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.