h5.archive.List
- class h5.archive.List(ob)[source]
Archive wrapper for a Python
list.Adapts a list to the archive reduce/reconstruct protocol so it can be stored as an HDF5 subgroup: elements are keyed by their (stringified) index on write and reassembled in order on read.
Instances are created internally by
HDFArchiveGroupand the class is registered withh5.formats.- Parameters:
- oblist
The list to wrap.