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 full backport of the configparser module from Python 3.5 to Python 2.7, 3.3, 3.4.

Everything in one module easy to vendor or install no extra dependencies.



Source code on github

Example config file:

option = value

envlisting = env1,env2,env3

valuelist = multi line
            # with comment
            fetchable as list

# interpolation is a optional feature
name = ${section:option}-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-1.0.1.tar.gz (74.7 kB view hashes)

Uploaded source

Built Distribution

StdConfigParser-1.0.1-py2.py3-none-any.whl (69.8 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page