Not Logged In

h5config 0.3

H5config

H5config is a Python package for conviniently saving and loading
configuration classes from disk. After populating base configuration
classes with parameters, h5config automatically generates HDF5 and
YAML backends for saving and loading that class. Yes, all this
information could go into a single database, but if you like the
flexibility of having a bunch of individual files that you can peek
into one at a time, this module is for you.

I wrote the module to support my experiment-control infrastructure,
and one of the key goals was to easily embed control parameters in the
saved data:

Storing all of the calibration and conversion factors can get
complicated quickly. h5config will keep you organized, and allow you
to focus on defining the config options without getting bogged down in
the bookkeeping.

As a side effect, h5config also provides some tools to support system-
and user-wide configuration files. For example, the pypiezo package
uses h5config to automatically detect and load the following config
file: