Skip to content

Show HN: Insultingly simple configuration for Python applications

github.com/fmd
2 pointsfmdud1 comment
On HN

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!

Comments

Hi everyone, I'm showing HN a tool I created to help my configure my Django projects. I've since open-sourced it, and hopefully someone else finds it as useful!

It 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!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.