pyExtendedConfigParser

An extended ConfigParser based on Python's ConfigParser.


Keywords
Python3, Path, Generic-Library, configparser, configuration-file, ini, interpolation, option-interpolation, python-3
License
Apache-2.0
Install
pip install pyExtendedConfigParser==1.1.2

Documentation

PyPI - License GitHub tag (latest SemVer incl. pre-release) GitHub release (latest SemVer incl. including pre-releases) GitHub release date Libraries.io status for latest release Requires.io
Travis PyPI PyPI - Status PyPI - Python Version Dependent repos (via libraries.io)
Codacy Badge Libraries.io SourceRank Read the Docs

pyExtendedConfigParser

This is an extension and improvement for Pythons ConfigParser.

1 Overview

Improvements

  • Faster interpolation
  • Interpolation cache
  • Section name interpolation
  • Multiple DEFAULT sections
  • Nested interpolation

2 Interpolations

2.1 Option interpolation

2.2 Section:Option interpolation

2.3 Section interpolation

3 Short Example

[section1]
option11 = value11
option12 = value12
option13 = value13

[section2]
option21 = value21
option22 = value22

Contributors

License

This library is licensed under Apache License 2.0


SPDX-License-Identifier: Apache-2.0