python-dotenv
https://github.com/theskumar/python-dotenv
Python
Reads key-value pairs from a .env file and can set them as environment variables. It helps in developing applications following the 12-factor principles.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported0 Subscribers
Add a CodeTriage badge to python-dotenv
Help out
- Issues
- Do you plan to call os.path.expandvars?
- feat: accept None to 'set_key' to write value-less environment variable
- Use PEP 541 to take over deprecated and abandoned `dotenv` package
- dotenv_values vs load_dotenv oddity
- Question: where does the start message come from (and how to suppress it)?
- Doesn't accept any pathnames nor show errors on python 3.9.2 / raspberry pi
- Unable to escape posix expansion
- feat: allow nested variable expansion in bash-like default value syntax
- ModuleNotFoundError: No module named '__main__' / load_dotenv() error on the latest Azure Functions (Python 3.9, Linux)
- feature request: load multiple `.env` file before running a command
- Docs
- Python not yet supported