h5.archive.Dict
- class h5.archive.Dict(ob)[source]
Archive wrapper for a Python
dict.Adapts a dict to the archive reduce/reconstruct protocol, storing each
key -> valuepair in an HDF5 subgroup. Only string keys are supported (format tag"Dict"); dicts with non-string keys useDictNonStrKeyinstead, selected by the write-side routing inHDFArchiveGroup.__setitem__().Instances are created internally by
HDFArchiveGroupand the class is registered withh5.formats.- Parameters:
- obdict
The dict to wrap.