hdf5storage
hdf5storage copied to clipboard
Python package to read and write a wide range of Python types to/from HDF5 formatted files. Can read/write data to the HDF5 based Matlab v7.3 MAT files.
Add a marshaller for reading/writing the polynomial classes of numpy (https://numpy.org/doc/stable/reference/routines.polynomials.html)
Adding read/write support for paths from pathlib (https://docs.python.org/3/library/pathlib.html). Since the package depends on this module now, it doesn't hurt to add the ability to marshal them. Unfortunately, only one of...
Due to fixing Issue #49 , this can now be done without adding scipy as a package dependency/requirement. Sparse matrices are useful and are additionally one of the ndarray/matrix types...
Writing plugins (see Issue #65 ) is complicated by how features can be added, changed, and removed over time in this package. While it is straightforward to figure out the...
One major missing feature of hdf5storage has been that marshallers for any additional types had to be provided by the user by making a ``MarshallerCollection`` with the additional marshallers passed...
If I create a v7.3 file in MATLAB with a variable x = zeros([3,4,5]), and then I look at it in HDFView, it shows that it's stored in the HDF5...
Structured `numpy.ndarray` with no elements, when `Options.structured_numpy_ndarray_as_struct` is set, are not written in a way that the dtypes for the fields can be restored when it is read back from...
When using asammdf library, having hd5storage dependency I stumbled over an error (https://github.com/danielhrisca/asammdf/issues/122) and this code fixed it. See supported Numpy types https://numpy.org/devdocs/user/basics.types.html in section: "Relationship Between NumPy Data Types...
As of Python 3.12, there is no `distutils`, and `setuptools` is not installed by default. This leads to two problems: ``` Traceback: .tox/py312/lib/python3.12/site-packages/hdf5storage/utilities.py:44: in from pkg_resources import parse_version E ModuleNotFoundError:...
Hi there, this is difficult to replicate as it might have to do with my specific file (which I can share, if necessary). But basically, when I do `hdf5storage.savemat` then...