Skip to main content

A standard INI style configuration parser.

Project description

This is the Python configparser with an extra class StdConfigParser. The StdConfigParser class uses specified parameters to initialize the Python ConfigParser and adds some useful converters. The result is a simple well defined syntax for the INI file. See it as a preconfigured ConfigParser class for you. It allows interoperability in configuration between different projects.

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

envlisting = env1,env2,env3

valuelist = multi line
            values
            # with comment
            fetchable as list

complex_json_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.zip (20.6 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file StdConfigParser-0.5.zip.

File metadata

  • Download URL: StdConfigParser-0.5.zip
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for StdConfigParser-0.5.zip
Algorithm Hash digest
SHA256 ec0cf0ad56b3d9b46beef0a0110dd5e7ba128f78d472772d426ce0f2338093f1
MD5 9e283971a3f8293b437822b4b0f561c4
BLAKE2b-256 7c137e6375356f946b643d5da4dae08377f206cf558ed2b98c84f3a90e2e4379

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for StdConfigParser-0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 56c8f20e25ed5f9a84d021f9a64a601bd031f7cea5345dc1bb64bddc38712743
MD5 0f93a658a5e0f15152b6c526f80b9c73
BLAKE2b-256 043b0bb23713321ad62cba1a0ae8f86dec91b7bc3cbb978bcfa475dfa96f9186

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