guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 5b5ed99030ed1a77792ca88d0afdc24c06446145
Author: Spencer King <[email protected]>
AuthorDate: Mon May 25 04:06:45 2026 +0000

    gnu: Add python-autoray.
    
    * gnu/packages/python-science.scm (python-autoray): New variable.
    
    Merges: guix/guix!8810
    Change-Id: I1393870b5e3881cb1e28154361b8c7f7853514eb
    Modified-by: Sharlatan Hellseher <[email protected]>
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-science.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index f9a7e6e82b..68e4b62c80 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -40,6 +40,7 @@
 ;;; Copyright © 2025 Ghislain Vaillant <[email protected]>
 ;;; Copyright © 2025 Janneke Nieuwenhuizen <[email protected]>
 ;;; Copyright © 2026 Reza Housseini <[email protected]>
+;;; Copyright © 2026 Spencer King <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -535,6 +536,42 @@ setting up, manipulating, running, visualizing and 
analyzing atomistic
 simulations.")
     (license license:lgpl2.1+)))
 
+(define-public python-autoray
+  (package
+    (name "python-autoray")
+    (version "0.8.10")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/jcmgray/autoray";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1gqfkpdng09l804xm9r1r098w10gr1bc5ax2xmhrpz9niybv71f5"))))
+    (build-system pyproject-build-system)
+    ;; tests: 1758 passed, 1483 skipped, 96 xfailed, 4 warnings
+    (native-inputs
+     (list python-hatch-vcs
+           python-hatchling
+           python-pytest))
+    (propagated-inputs
+     (list python-dask
+           python-matplotlib
+           python-networkx
+           python-numpy
+           python-opt-einsum
+           python-scipy
+           python-sparse))
+    (home-page "https://github.com/jcmgray/autoray";)
+    (synopsis "Library for abstracting tensor operations")
+    (description
+     "This package provides a lightweight Python library for
+abstracting tensor operations.  It provides an automatic dispatch mechanism
+that means you can write backend agnostic code that works for any library
+that provides a @code{numpy} compatible API.")
+    (license license:asl2.0)))
+
 (define-public python-baycomp
   (package
     (name "python-baycomp")

Reply via email to