itsh5py
Python datatype support for hdf files
While there are many ways to store different data types, many of them have their drawbacks. Sometimes it can be practical to store arrays with additional (pythonic) data in a single file. While hdf attributes can support some types, many exception exists especially with pyhtonic types.
This is a small implementation of recursive dict support for python to write and read hdf files with many different pythonic data types. Almost all types implemented in default python and numpy should be supported, even in nested structures. The resulting files work in hdfview and panoply with some small drawbacks.
Data types which are unknown will be serialized if possible using yaml. Lists and tuples are unrolled so they do not have to be serialized in most cases. Lazy support can be enabled allowing to work fast with large files, only loading references of large arrays and fetching the data on demand as supported by h5py. This works for numpy arrays only but mixed results are possible, e.g. having fully loaded pythonic types and referenced numpy arrays in a single loaded file.
Since this module is most likely used for data storage, please be warned that tests are still WiP and there is a good chance that you will encounter some types that either won't be saved or possibly break your file. No warranty is given.
The original idea was taken from SiggiGue thus there are some obvious similarities. This package extends the functionality to handle most of the pythonic data types and adds functions for convenient handling of the different data structures.
Find the Full documentation here
Metadata
Release files for itsh5py 0.7.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| itsh5py-0.7.2-py3-none-any.whl | Python 3 | none | any | Details for itsh5py-0.7.2-py3-none-any.whl |
Release files / itsh5py-0.7.2-py3-none-any.whl
| Download URL | itsh5py-0.7.2-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6acf365a0abbb978ddfe12445a24032cf65df237ceabf2ee21e093fd41c79a41
|
|
BLAKE2b-256 checksum How to use checksums |
26e991dffcc9d278f9d6fba38244f935050863d4ab5580313282bdac79f628a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.25.1
|
Security for itsh5py 0.7.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.