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.

Documentation

ChangeLog

Source code on github

Example config file:

[section]
option = value

envlisting = env1,env2,env3

valuelist = multi line
            values
            # with comment
            fetchable as list

[other_section]
# 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.zip (37.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file StdConfigParser-1.0.zip.

File metadata

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

File hashes

Hashes for StdConfigParser-1.0.zip
Algorithm Hash digest
SHA256 0134a060a8f87d663453f9c91bf988edad69fc04c9ce431480c55e795a342f3c
MD5 34c0642dcf8ae806d1c525e251b96f52
BLAKE2b-256 942baa9d1db4cd82b4f725898429fd555e5e30bfb230696413b3da3179c999fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for StdConfigParser-1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b13463a309a6bbd92da6bd03bc998acbb124f25537098c5076aa55b0791f7837
MD5 d13137d865bbc793453ca29a412c4f6b
BLAKE2b-256 c9239ef5c95e982e5d5b07ffdefcb6134162a0e1fb1d5f33f2a8137f79352b32

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