guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/93: gnu: Add python-dask-image.


From: guix-commits
Subject: 01/93: gnu: Add python-dask-image.
Date: Sun, 5 May 2024 16:44:45 -0400 (EDT)

rekado pushed a commit to branch wip-python-team
in repository guix.

commit 749cb3c5202cb90fde0d229483a24d00e3a67136
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Apr 22 22:39:57 2024 +0200

    gnu: Add python-dask-image.
    
    * gnu/packages/python-xyz.scm (python-dask-image): New variable.
    
    Change-Id: I77c22bba69d73ce39681064bfdcc05b2b360ea26
---
 gnu/packages/python-xyz.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 38f5d73c5b..7e5ec06bab 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27911,6 +27911,55 @@ larger-than-memory or distributed environments.  These 
parallel collections
 run on top of the dynamic task schedulers.")
     (license license:bsd-3)))
 
+(define-public python-dask-image
+  (package
+    (name "python-dask-image")
+    (version "2023.8.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "dask-image" version))
+       (sha256
+        (base32 "1dh49lvirf5fbgq5hw1c4972czg5w12fg9y689cinyjjn22qk6jy"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags
+      ;; Flake8 attribute errors.
+      '(list "--ignore=dask_image/ndfilters/_threshold.py"
+             "--ignore=dask_image/ndfourier/_utils.py"
+             "--ignore=dask_image/ndinterp/__init__.py"
+             "--ignore=dask_image/ndmeasure/__init__.py"
+             "--ignore=dask_image/ndmeasure/_utils/_find_objects.py"
+             "--ignore=dask_image/ndmeasure/_utils/_label.py"
+             "--ignore=tests/test_dask_image/test_ndfilters/test__conv.py"
+             "--ignore=tests/test_dask_image/test_ndfourier/test_core.py"
+             
"--ignore=tests/test_dask_image/test_ndinterp/test_spline_filter.py"
+             "--ignore=tests/test_dask_image/test_ndmeasure/test_core.py"
+             
"--ignore=tests/test_dask_image/test_ndmeasure/test_find_objects.py")))
+    (propagated-inputs (list python-dask
+                             python-numpy
+                             python-pandas-2
+                             python-pims
+                             python-scipy
+                             python-tifffile))
+    (native-inputs
+     (list python-pytest-flake8 python-pytest))
+    (home-page "https://github.com/dask/dask-image";)
+    (synopsis "Distributed image processing")
+    (description "This is a package for image processing with Dask arrays.
+Features:
+
+@itemize
+@item Provides support for loading image files.
+@item Implements commonly used N-D filters.
+@item Includes a few N-D Fourier filters.
+@item Provides some functions for working with N-D label images.
+@item Supports a few N-D morphological operators.
+@end itemize
+")
+    (license license:bsd-3)))
+
 (define-public python-ilinkedlist
   (package
     (name "python-ilinkedlist")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]