etcaetera
etcaetera copied to clipboard
Manage multiple configuration sources in a single place
i have a json files (comes from an external API so i don't have the option of changing it) that looks like this : (contents of /tmp/test.json) `{ "level1": {...
I'm trying to use etcaetera in a "case sensitive" manner where the incoming config sources (files etc) are not forced into upper- or lowercase but simply retain the literal values....
For example ``` python e = Env('NAMESPACE_*') ```
For example: ``` python env = Env(**{ 'namespace': 'MY_NAMESPACE' , # First destination of the value stored at MY_NAMESPACE in env 'nested.namespace': 'MY_NAMESPACE', # Second destination of the value stored...
It should add detailled explaination on how to build a custom adapter, and be part of how the internals work explanation #2
Internals should be explained in a Documentation section: - How config stores adapters (defaults first, overrides last, ...) - How config loads adapters and following which policy - Explain the...