HDF5Serializer

Defines a serializer that can prep/dump python data to HDF5. To minimize complexity, we always use NumPy & Pseudopickle as an interface layer. This restricts what we can serialize, but generally in insignificant ways.

default_extension: str

 

__init__(self, allow_pickle=True, psuedopickler=None, converters=None): 

 

convert(self, data): 

Converts data into format that can be serialized easily

  • data: Any
  • :returns: _

 

serialize(self, file, data, **kwargs): 

 

deconvert(self, data): 

Converts an HDF5 Dataset into a NumPy array or Group into a dict

  • data: Any
  • :returns: _

 

deserialize(self, file, key=None, **kwargs): 

Feedback

Examples

Templates

Documentation