Skip to main content

A standard INI style configuration parser.

Project description

This is the Python configparser with an extra class StdConfigParser.

Provides a standard configuration syntax and the parser for it. Also contains everything to be a backport of the ConfigParser from Python 3.5 to Python 2.7.

Everything in one module easy to vendor or install as extra dependency.

Documentation

ChangeLog

Source code on github

Example config file:

[section]
key = value

envlist = env1,env2,env3

valuelist = multi line
            values
            # with comment
            fetchable as list

complex_value = {
    "key 1": 1,
    "key 2": 2,
    # special list of environments
    "env list": ["a", "b"],
    }

[other_section]
name = ${section:key}-substitution

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

StdConfigParser-0.5.dev2.zip (19.7 kB view details)

Uploaded Source

Built Distribution

StdConfigParser-0.5.dev2-py2.py3-none-any.whl (17.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file StdConfigParser-0.5.dev2.zip.

File metadata

File hashes

Hashes for StdConfigParser-0.5.dev2.zip
Algorithm Hash digest
SHA256 0119639b742b86d36012ebc64c5e92abbec34f5393011656ae7001022ad76b2e
MD5 95f3306eb87b63841b1af1fa429d9e45
BLAKE2b-256 779376597faadd4c46c0146aff0b9f958acfb112891c3990d0556a36861315b1

See more details on using hashes here.

File details

Details for the file StdConfigParser-0.5.dev2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for StdConfigParser-0.5.dev2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bfb86be50eec76757c50def846ca77510c26162949e57e07fcabc592b36785dc
MD5 69a12ddf9931e4da2fd9087e7f41d838
BLAKE2b-256 df1104df4fb925ab0091f6813c038dbc5dd6e82cc48f57b6db34d183c600c796

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page