HBNetwork / python-decouple

Strict separation of config from code.
MIT License
2.83k stars 196 forks source link

Support to YAML files as config #46

Closed renatoalencar closed 7 years ago

renatoalencar commented 7 years ago

I really like YAML, and I like YAML as config file. It has a beautiful syntax and has so many interesting features that makes YAML able to be used as config files, supporting those features and still readable.

And, I really like decouple, so I decided to make this PR in order to be able to use this together.

Thx.

henriquebastos commented 7 years ago

Thank you for you proposal. However this PR is very similar to #39 and it has the same design issues that make me unable to accept it.

Yaml implicitly deal with (1) data hierarchy and (2) type conversion while Decouple align itself with how envars works as pure strings.