configcascade

A simple Configuration System which allows you to import and override or merge configuration parameters


License
Other
Install
pip install configcascade==1.0.0

Documentation

configcascade

https://travis-ci.org/felixcarmona/configcascade.png?branch=master https://coveralls.io/repos/felixcarmona/configcascade/badge.png?branch=master Downloads Latest Version

A simple Configuration System which allows you to import and override or merge configuration parameters

Example

file_a.yml:

imports:
  - file_b.yml
  - file_c.yml

foo:
  - x
  - y
  - z

test:
  - a

file_b.yml:

foo:
  - 5
  - 7

bbbb: 8

file_c.yml:

test:
  - b

The generated result will be:

foo:
  - x
  - y
  - z
  - 5
  - 7

bbbb: 8

test:
  - a