API¶
Config¶
The primary API classes.
Formats¶
Formats define de/serialization specifics.
-
class
profig.IniFormat¶ Implements reading/writing configurations from/to INI formatted files.
A header will be written for each section in the root config object.
-
class
profig.RegistryFormat¶ Implements reading/writing configurations from/to the Windows registry.
Sections with children will be created as keys. Those without children will be created as values.
Keys will be created relative to
RegistryFormat.base_key, which defaults to HKEY_CURRENT_USER.
Coercer¶
A Coercer handles the conversion of values to/from a human-readable string representation.