@@ -17793,6 +17793,39 @@ (define-public python-pylev
@url{http://en.wikipedia.org/wiki/Levenshtein_distance}.")
(license license:bsd-3)))
+(define-public python-rapidfuzz
+ (package
+ (name "python-rapidfuzz")
+ (version "2.15.1")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "rapidfuzz" version))
+ (sha256
+ (base32
+ "1xh0mkbhgnrwgwhrlnmypwwig3ww23fdffh0245akbiprb13f8fn"))))
+ (build-system python-build-system)
+ (native-inputs (list python-hypothesis python-numpy python-pytest
+ python-scikit-build))
+ (home-page "https://github.com/maxbachmann/RapidFuzz")
+ (synopsis "Rapid fuzzy string matching using various string metrics")
+ (description
+ "RapidFuzz is a fast string matching library for Python and
+C++, which is using the string similarity calculations from FuzzyWuzzy.
+However there are a couple of aspects that set RapidFuzz apart from
+FuzzyWuzzy:
+@itemize
+@item It is MIT licensed so it can be used whichever License you might want to
+choose for your project, while you're forced to adopt the GPL license when
+using FuzzyWuzzy.
+@item It provides many @code{string_metrics} like @code{hamming} or
+@code{jaro_winkler}, which are not included in FuzzyWuzzy.
+@item It is mostly written in C++ and on top of this comes with a lot of
+algorithmic improvements to make string matching even faster, while still
+providing the same results. For detailed benchmarks check the documentation.
+@item Fixes multiple bugs in the partial_ratio implementation.
+@end itemize")
+ (license license:expat)))
+
(define-public python-cleo
(package
(name "python-cleo")