Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (27 sloc) 883 Bytes
API
===
Config
------
The primary API classes.
.. autoclass:: profig.Config
.. autoclass:: profig.ConfigSection
Formats
-------
Formats define de/serialization specifics.
.. autoclass:: profig.Format
.. 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
:class:`RegistryFormat.base_key`, which defaults to
*HKEY_CURRENT_USER*.
Coercer
-------
A Coercer handles the conversion of values to/from a human-readable
string representation.
.. autoclass:: profig.Coercer
You can’t perform that action at this time.