guix-commits
[Top][All Lists]
Advanced

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

02/15: gnu: Add python-hdf5storage.


From: guix-commits
Subject: 02/15: gnu: Add python-hdf5storage.
Date: Tue, 9 Jan 2024 04:30:03 -0500 (EST)

mothacehe pushed a commit to branch master
in repository guix.

commit 74c5a6afa6d1691bc939b86fe9baeb7390f418aa
Author: Troy Figiel <troy@troyfigiel.com>
AuthorDate: Sat Dec 30 11:44:31 2023 +0100

    gnu: Add python-hdf5storage.
    
    * gnu/packages/python-xyz.scm (python-hdf5storage): New variable.
    
    Change-Id: If54c5f4b634658854bbe9312dce194643fe23733
---
 gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f8bb943122..c102aad161 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2279,6 +2279,30 @@ access to HDF5 files, datasets and groups using 
established Python and NumPy
 concepts.")
     (license license:bsd-3)))
 
+(define-public python-hdf5storage
+  (package
+    (name "python-hdf5storage")
+    (version "0.1.19")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "hdf5storage" version))
+       (sha256
+        (base32 "11pgxsqap9l7jsf52649q9mpj8a0w6p9im929lpr9s26ynnnn6ks"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs (list python-h5py python-numpy))
+    (native-inputs (list python-nose))
+    (home-page "https://github.com/frejanordsiek/hdf5storage";)
+    (synopsis "Read and write Python data types from and to HDF5 files")
+    (description
+     "This Python package provides high-level utilities to read and write a
+variety of Python types from and to @acronym{HDF5, Hierarchical Data Format}
+formatted files.  This package also provides support for MATLAB MAT v7.3
+formatted files, which are HDF5 files with a different extension and some
+extra metadata.  Because HDF5 and MAT files might need to be read from
+untrusted sources, pickling is avoided in this package.")
+    (license license:bsd-2)))
+
 (define-public python-hjson
   ;; Using commit from master branch as the PyPI version does not contain
   ;; the hjson/tests/ directory.



reply via email to

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