A few library options are available to change the behavior of the library.
You can get a reference to the global library configuration object via the
h5py.get_config(). This object supports the following
Set to a 2-tuple of strings (real, imag) to control how complex numbers are saved. The default is (‘r’,’i’).
Booleans are saved as HDF5 enums. Set this to a 2-tuple of strings (false, true) to control the names used in the enum. The default is (“FALSE”, “TRUE”).
Whether to track dataset/group/attribute creation order. If container creation order is tracked, its links and attributes are iterated in ascending creation order (consistent with
dictin Python 3.7+); otherwise in ascending alphanumeric order. Global configuration value can be overridden for particular container by specifying
h5py.Group.create_dataset(). The default is