ch5mpy.AttributeManager

class ch5mpy.AttributeManager(attrs)[source]

Manage attributes of a File, Group or Dataset.

Methods

AttributeManager.__init__

AttributeManager.as_dict

rtype:

dict[str, Any]

AttributeManager.get

rtype:

Any

AttributeManager.keys

rtype:

KeysViewHDF5[str]

AttributeManager.set

rtype:

None

Parameters:

attrs (H5Attrs) –

Methods

AttributeManager.__init__(attrs)[source]
Parameters:

attrs (AttributeManager) –

Return type:

None

AttributeManager.as_dict()[source]
Return type:

dict[str, Any]

AttributeManager.get(name, default=None)[source]
Return type:

Any

Parameters:
  • name (str) –

  • default (Any | None) –

AttributeManager.keys()[source]
Return type:

KeysViewHDF5[str]

AttributeManager.set(**kwargs)[source]
Return type:

None

Parameters:

kwargs (Any) –