braingram/cascading_config
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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
About
Cascading configuration file for python
Resources
Stars
Watchers
Forks
Packages 0
No packages published