Show HN: Insultingly simple configuration for Python applications (github.com)
Hi everyone, I created a simple tool to help me configure my Django apps. I've open sourced it in case anyone else finds it useful.
Lazyconf prompts a user based on a predefined, edited, git-commitable schema. It then generates a data file, ignored by git, which can be accessed through Python, or through the command line.
Question/Feedback encouraged!
1 comment
[ 2.4 ms ] story [ 17.8 ms ] threadIt works as follows: It prompts the user for configuration defined in a customisable, git-commitable 'schema' file, and outputs a git-ignored 'data' file.
Any reconfiguration uses the data file to provide defaults for the prompts.
Prompts are regex-validated, and there's support for only accepting a value from a predefined list of values.
Questions/Comments/Feedback/Pull requests welcome!