fuzzywuzzy v0.18.0 Release Notes

Release Date: 2020-02-13 // over 4 years ago

Previous changes from v0.17.0

    • ๐Ÿ‘‰ Make benchmarks script Py3 compatible. [Stefan Behnel]

    • โž• Add Go lang port. [iddober]

    • โž• Add reference to C# port. [ericcoleman]

    • ๐Ÿšš Chore: remove license header from files. [Jose Diaz-Gonzalez]

    The files should all inherit the projects license.

    • ๐Ÿ›  Fix README title style. [Thomas Grainger]

    • โž• Add readme check. [Thomas Grainger]

    install docutils and Pygments

    • Cache pip. [Thomas Grainger]

    • โฌ†๏ธ Upgrade pip/setuptools for hypothesis. [Thomas Grainger]

    • ๐Ÿ‘ Feat: drop py26 and py33 support from tox. [Jose Diaz-Gonzalez]

    • โœ… Feat: drop support for 2.6 in test_fuzzywuzzy.py. [Jose Diaz-Gonzalez]

    • Feat: drop reference to 2.4 from readme. [Jose Diaz-Gonzalez]

    • Feat: drop py2.6 and py3.3 classifiers. [Jose Diaz-Gonzalez]

    • ๐Ÿ‘ Feat: drop 2.6 and 3.3 support. [Jose Diaz-Gonzalez]

    These are no longer supported. Please upgrade your python version if you are using either version.

    • Fuzz: _token_sort: check for equivalence. [Ralf Ramsauer]

    If we don't have to full_process the strings, we can safely assume to return 100 in case both candidates equal.

    Signed-off-by: Ralf Ramsauer [email protected]

    • โœ… Test: add more test cases. [Ralf Ramsauer]

    Signed-off-by: Ralf Ramsauer [email protected]

    • Utils: add and use check_for_equivalence decorator. [Ralf Ramsauer]

    And decorate basic scoring functions.

    The check_for_equivalence decorator MUST be used after the check_for_none decorator, as otherwise ratio(None, None) will get a score of 100.

    This fixes the first part of the recently introduced changes in the test set.

    Signed-off-by: Ralf Ramsauer [email protected]

    • โœ… Tests: add some corner cases. [Ralf Ramsauer]

    '' and '' are equal, so are '{' and '{'. Test if fuzzywuzzy gives them a score of 100.

    For the moment, this patch breaks tests, fixes in fuzzywuzzy follow.

    Signed-off-by: Ralf Ramsauer [email protected]

    • ๐Ÿšš Utils: remove superfluous check. [Ralf Ramsauer]

    Decorators make sure that only non None-values are passed. We can safely assume that None will never get here.

    Other than that, None's shouldn't simply be ignored and erroneously changed to empty strings. Better let users fail.

    This commit doesn't break any tests.

    Signed-off-by: Ralf Ramsauer [email protected]

    • README: add missing requirements. [Ralf Ramsauer]

    pycodestyle and hypothesis are required for automatic testing. Add them to README's requirement section.

    Signed-off-by: Ralf Ramsauer [email protected]

    • โœ‚ Remove empty document. [Ralf Ramsauer]

    Signed-off-by: Ralf Ramsauer [email protected]