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.0.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file cconfig-1.0.tar.gz.

File metadata

  • Download URL: cconfig-1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cconfig-1.0.tar.gz
Algorithm Hash digest
SHA256 d6063854dd12a046fe39cbf3bf4e8f71098fb69007f85d37637158dadd8c20d9
MD5 a05736b789576eecba826b82e42646b5
BLAKE2b-256 bfbe074e8dc1ee54fc4fcdc5a90b7eb8ae559074090d9865df33f02390c6829c

See more details on using hashes here.

Provenance

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