h5.archive

Dict-like Python interface to HDF5 files.

This module implements the high-level, dictionary-like API for reading and writing HDF5 archives. Values are stored and retrieved by key like a Python dict.

Standard containers (list, tuple, dict) are supported out of the box, and custom classes can be made archive-compatible by registering them with h5.formats.

Classes

Dict(ob)

Archive wrapper for a Python dict.

HDFArchive([descriptor, open_flag, ...])

Top-level handle to an HDF5 file.

HDFArchiveGroup(parent, subpath)

A view on a subgroup of an HDFArchive.

HDFArchiveInert()

A fake class for the node in MPI. It does nothing, but permits to write simply::.

List(ob)

Archive wrapper for a Python list.

Tuple(ob)

Archive wrapper for a Python tuple.