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:
- default:
[main] foo: 1 bar: 2 baz: 3
- user (~/.foo_module):
[main] foo: 4 bar: 5
- 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
Release history Release notifications | RSS feed
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 details)
File details
Details for the file cconfig-1.1.tar.gz
.
File metadata
- Download URL: cconfig-1.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf033d60aeabc74632f9484b3bcb8b73b3cc2ed7b8b0dded72a896a78a9be03b |
|
MD5 | 258fbe197151dcfaf9aa290c9a654bed |
|
BLAKE2b-256 | f2bf7b82a2945c83a28fb4f22b6cae61ab4f070fa3de6a1ee7a77ef2e46888dc |