Stringmatch

Latest version: v0.14.6

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

Scan your dependencies

Page 8 of 9

0.5.0

- Removed scorer argument from functions, added it into `__init__` in both Match() and Ratio()
- Renamed *_with_score functions to *_with_ratio to be consistent with naming
- This affects the three functions added in v0.4.0
- Removed Exceptions
- Returning a score of 0 instead of raising EmptySearchException
- Using "levenshtein" as default instead of raising InvalidScorerException
- Setting no limit instead of raising InvalidLimitException, if a limit less than 1 is set
- Updated docstrings to reflect these changes
- Updated tests to reflect these changes

0.4.1

- Added proper Python Versions to setup classifiers

0.4.0

- Added match_with_score, get_best_match_with_score and get_best_matches_with_score functions
- Added tests for those functions
- Updated documentation a bit

0.3.1

- Fixed bug where matches are ordered by the default scorer and not the one chosen

0.3.0

- Made library installable via pip
- Rebranded library from searchlib to stringmatch

0.2.0

- Made library public and installable via git
- Added multiple scorers
- Added new kwargs to Match functions
- Added tests for those
- Improved various functions
- Added exception type
- Some documentation improvements

Page 8 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.