pyExtendedConfigParser¶
Extended Classes¶
ExtendedSectionProxy¶
ExtendedInterpolation¶
ExtendedConfigParser¶
-
class
pyExtendedConfigParser.ExtendedConfigParser(defaults=None, dict_type=<class 'collections.OrderedDict'>, allow_no_value=False, *, delimiters=('=', ':'), comment_prefixes=('#', ';'), inline_comment_prefixes=None, strict=True, empty_lines_in_values=True, default_section='DEFAULT', interpolation=<object object>, converters=<object object>)[source]¶ Bases:
configparser.ConfigParserExtended
*.iniconfiguration file reader/writer based on Python’s ConfigParser.
Workarounds for Python 3.4¶
Note
Required for ReadTheDocs, which doesn’t support Python 3.5 yet.
ConverterMapping¶
-
class
pyExtendedConfigParser.ConverterMapping(parser)[source]¶ Bases:
collections.abc.MutableMappingEnables reuse of get*() methods between the parser and section proxies.
If a parser class implements a getter directly, the value for the given key will be
None. The presence of the converter name here enables section proxies to find and use the implementation on the parser class.
See also
- Python’s :class:
~configparser.ConfigParserfrom moduleconfigparser Module to read and write
*.iniconfiguration files.