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
- Fix minor docstring typos and capitalization
- Is `.` / `source` a supported operation?
- Feature Request: generate a template from an env file
- Fix CLI 'get' command treating empty-string values as missing
- Fix _rest_of_line regex alternation order for \r\n line endings
- fix: change "it's" to "its"
- fix: apply expanduser to dotenv_path
- Add function to write header block to .env file
- feat: option to change POSIX variable name regex - facilitate passthrough
- feat: unlink_after_load - unlink .env file after calling load_dotenv
- Docs
- Python not yet supported