Levenshtein

Latest version: v0.26.1

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

Scan your dependencies

Page 6 of 9

0.14.0

* Drop Python 2 support
* Fixed free of non heap object due caused by zero offset on a heap object
* Fixed warnings about missing type conversions
* Fix segmentation fault in subtract_edit when incorrect input types are used
* Fixed unchecked memory allocations
* Implement distance/ratio/hamming/jaro/jaro_winkler
using rapidfuzz instead of providing a own implementation
* Implement Wrapper for inverse/editops/opcodes/matching_blocks/subtract_edit/apply_edit
using Cython to simplify support for new Python versions

0.13.0

* Maintainership passed to Max Bachmann
* use faster bitparallel implementations for distance and ratio
* avoid string copies in distance, ratio and hamming
* Fix usage of deprecated Unicode APIs in distance, ratio and hamming
* Fixed incorrect window size inside Jaro and Jaro-Winkler implementation
* Fixed incorrect exception messages
* Removed unused functions and compiler specific hacks
* Split the Python and C implementations to simplify building of
the C library
* Fixed multiple bugs which prevented the use as C library, since some functions
only got defined when compiling for Python
* Build and deliver python wheels for the library
* Fixed incorrect allocation size in lev_editops_matching_blocks and
lev_opcodes_matching_blocks

0.12.1

* Fixed handling of numerous possible wraparounds in calculating the size
of memory allocations; incorrect handling of which could cause denial
of service or even possible remote code execution in previous versions
of the library.

0.12.0

Not secure
* Fixed a bug in StringMatcher.StringMatcher.get_matching_blocks /
extract_editops for Python 3; now allow only `str` editops on
both Python 2 and Python 3, for simpler and working code.
* Added documentation in the source distribution and in GIT
* Fixed the package layout: renamed the .so/.dll to _levenshtein,
and made it reside inside a package, along with the StringMatcher
class.
* Fixed spelling errors.

0.11.2

* Fixed a bug in setup.py: installation would fail on Python 3 if the locale
did not specify UTF-8 charset (Felix Yan).

* Added COPYING, StringMatcher.py, gendoc.sh and NEWS in MANIFEST.in, as they
were missing from source distributions.

0.11.1

* Added Levenshtein.h to MANIFEST.in

Page 6 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.