guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 01/16: gnu: Add python-dask-image.
Date: Mon, 29 Apr 2024 06:39:00 -0400 (EDT)

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

commit ab5ffac144d6ad58a222aefdb86afe4e7a5d30c5
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 f22b891ba5..e02ba50e9f 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]