ilexconf
ilexconf copied to clipboard
Configuration Library for Python 🔧 Load and merge from multiple sources
## Summary Split lists by space by default. Add list delimiter argument to the `from_env` function. Given: ```shell export WUTCH_DIRS=". ../other_dir" ``` Evaluate to: ```python cfg = from_env(prefix="WUTCH_") assert(cfg.dirs ==...
## Summary Implement template like functionality using Jinja. Given: ```json { "a": "my", "b": "{{ a }}var", "{{ a }}-{{ b }}": ["{{ b }}"] } ``` Should evaluate to:...
Implement CLI app using cleo. Should only be available if used as a standalone application `ilexconf`. Only works when installed with `console` extra. Serves the purpose of verifying the configs,...
What would happen if we do this: ```python config = Config() config["my.custom.key"] = "value" ``` Or ```python config = Config() config.merge({ "my.custom.key": 3 }) ```
* Run tests and fix bugs of any for all versions * Add build configurations to Travis
Make Config compatible with Django. Take an approach similar to dynaconf.
Implement compatibility with flask similarly to dynaconf.