[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63139] [PATCH python 03/20] gnu: Add python-rapidfuzz.
From: |
John Kehayias |
Subject: |
[bug#63139] [PATCH python 03/20] gnu: Add python-rapidfuzz. |
Date: |
Fri, 28 Apr 2023 05:50:09 +0000 |
* gnu/packages/python-xyz.scm (python-rapidfuzz): New variable.
---
gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 83beb1c8ef..4d1f291e68 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -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")
--
2.39.2
- [bug#63139] [PATCH python 00/20] Updates for pyproject-build-system, poetry, python-yubikey-manager, John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 06/20] gnu: Add python-deepdiff., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 05/20] gnu: python-cleo: Update to 2.0.1., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 03/20] gnu: Add python-rapidfuzz.,
John Kehayias <=
- [bug#63139] [PATCH python 02/20] gnu: Add python-pyproject-hooks., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 07/20] gnu: python-platformdirs: Update to 3.2.0., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 04/20] gnu: python-crashtest: Update to 0.4.1., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 08/20] gnu: python-filelock: Update to 3.12.0., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 01/20] gnu: Add python-installer., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 09/20] gnu: python-distlib: Update to 0.3.6., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 10/20] gnu: python-virtualenv: Update to 20.22.0., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 13/20] gnu: python-dulwich: Update to 0.21.3., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 11/20] gnu: python-pkginfo: Update to 1.9.6., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 12/20] gnu: python-jsonschema: Update to 4.17.3., John Kehayias, 2023/04/28