Home | Trees | Indices | Help |
|
---|
|
Generic configuration system using unrepr. Configuration data may be supplied as a Python dictionary, as a filename, or as an open file object. When you supply a filename or file, Python's builtin ConfigParser is used (with some extensions). Namespaces ---------- Configuration keys are separated into namespaces by the first "." in the key. The only key that cannot exist in a namespace is the "environment" entry. This special entry 'imports' other config entries from a template stored in the Config.environments dict. You can define your own namespaces to be called when new config is merged by adding a named handler to Config.namespaces. The name can be any string, and the handler must be either a callable or a context manager.
|
|||
basestring str(object='') -> string |
|||
NamespaceSet A dict of config namespace names and handlers. |
|||
Config A dict-like set of configuration data, with defaults and namespaces. |
|||
Parser Sub-class of ConfigParser that keeps the case of options and that raises an exception if the file cannot be read. |
|||
_Builder2 | |||
_Builder3 |
|
|||
|
|||
|
|||
|
|||
|
|
|||
__package__ =
|
|||
__warningregistry__ =
|
|
__warningregistry__
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Mar 25 16:17:45 2014 | http://epydoc.sourceforge.net |