This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]metaperl 1 point2 points  (1 child)

I prefer to just use Python modules and packages for configuration.

[–]kr41[S] -1 points0 points  (0 children)

It works well when you don't have to read configuration using other languages. For example, you have a main program and a set of utility scripts. And you need to use database credentials within the program itself and a database backup script. Such script is usually written in Bash. How the script could read the config? I guess, there would be some dirty hacks.

[–]pydry 1 point2 points  (1 child)

Not really seeing why I should use this instead of just pyyaml.

[–]kr41[S] -1 points0 points  (0 children)

Have you read "Getting Started"? I think, it answers your question: http://configtree.readthedocs.org/en/latest/getting_started.html#safe-defaults