A Python library for saving and loading Python objects to/from HDF5 files. Provides simple functions to read/write dictionaries, lists, NumPy arrays, and other basic Python types into HDF5 datasets. Current version 0.2.5 (released <2024); release cadence is low (no new releases since 2020).
pip install h5ioNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Write and read a dictionary containing a list and a NumPy array.
Always provide a unique title per dataset object.
Set compression only on write; reading decompresses automatically.
Convert custom objects to dicts before saving.
Upgrade h5py to >=3.0 to avoid deprecation warnings.
Use: from h5io import read_hdf5
Check file extension and use HDF5 files.
Provide a non-empty string for the title argument.