News for hackers. Stuff that matters.
Re:Hypermodern Python by kortex on Thursday May 28, 2020 @08:47AM (#23336599)
Click has one feature which is huge for me: parsing env variables following some pattern eg MYAPP_FOO.

For lazy import - You can do it with click, too, just put your imports in your entrypoint functions.

Click isn't minimalistic though. Nor is poetry or pyenv. Seems to be the main complaints about the article.

Re:Hypermodern Python by jabwork on Thursday May 28, 2020 @01:11PM (#23339772)
Configargparse is a great drop in replacement for argparse that I use to handle bridging env vars with cli flags

https://pypi.org/project/ConfigArgParse/

Re:Hypermodern Python by kortex on Thursday May 28, 2020 @01:33PM (#23340042)
YES I need this in my life! Tried searching for such a thing but I guess had the wrong keywords.