Skip to main content

UNKNOWN

Project description

A cascading configuration file object built on top of the ConfigParser

Load a series of configuration files where later files shadow earlier

For example loading 3 configuration files in order:

  1. default:

    [main] foo: 1 bar: 2 baz: 3

  2. user (~/.foo_module):

    [main] foo: 4 bar: 5

  3. local (./foo_module):

    [main] foo: 7

Will result in:

foo == 7 bar == 5 baz == 3

Also, parse command line options such as:

./script.py main foo 10

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

cconfig-1.1.tar.gz (4.8 kB view hashes)

Uploaded Source

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