1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-07-03 03:34:04 +02:00

gnu: Add python-distance.

* gnu/packages/python-xyz.scm (python-distance): New variable.

Change-Id: I0c8d98f39d779fcbcb5ce37bf64db118dfc0b4e4
This commit is contained in:
Sharlatan Hellseher
2024-12-18 01:44:55 +00:00
parent 2605de61e9
commit e8a8c5a13e
+23
View File
@@ -482,6 +482,29 @@ including arbitrary-length lists, records, mixed types, and missing data,
using NumPy-like idioms.")
(license license:bsd-3)))
(define-public python-distance
(package
(name "python-distance")
(version "0.1.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "Distance" version))
(sha256
(base32 "0la51nzzqrkisshwbk2wpviisqqzylwkz9qsa9f3y05nyn27b030"))))
(build-system pyproject-build-system)
(native-inputs
(list python-setuptools
python-wheel))
(home-page "https://github.com/doukremt/distance")
(synopsis "Utilities for comparing sequences")
(description
"This package provides helpers for computing similarities between
arbitrary sequences. Included metrics are Levenshtein, Hamming, Jaccard, and
Sorensen distance, plus some bonuses. All distance computations are
implemented in pure Python, and most of them are also implemented in C.")
(license license:gpl2+)))
(define-public python-jsonpath-ng
(package
(name "python-jsonpath-ng")