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
- Remove the use of `sh` in tests
- docs: Add missing `interpolate` parameter to the docstrings of functions `load_dotenv` and `dotenv_values`
- .env not found with using python-dotenv==1.1.1 installed through uv pip install
- Manage Permission denied
- load_dotenv does not work with variables in values
- fix: restore multiline support for unquoted values (fixes #555)
- Bug: python-dotenv doesn't load 1Password “mounted” .env files (looks like a FIFO / fd-backed file)
- Feature Request: Unloading function unload_dotenv()
- [Bug] Inline comment is included as value when key has empty value (`KEY= # comment`)
- feat: Add waiting logic for FIFO files that may not be immediately readable
- Docs
- Python not yet supported