Dotenvx: A better dotenv – from the creator of `dotenv`
github.com
github.com
One thing dotenv does is that it lets you load environment variables in your program whether they are in your .envrc or in your environment.
I never write code that uses envvars. Always use cmdline args or a config file.
If I were designing an OS I’d do everything in my power to not have an envvar API. It’s probably not possible, but damnit I’d try
Also, for configuring all sort of credentials for libraries, e.g. AWS, WandB, HuggingFace, etc.
Running a computer program shouldn't require a Docker image. Which in turn alleviates the need to use gross environment variables.