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 supported1 Subscribers
Add a CodeTriage badge to python-dotenv
Help out
- Issues
- Feature Request: Exception or Warning on Duplicate Configuration Items
- load_dotenv() default behavior change in PyCharm interactive console
- [CLI] Support multiple files in CLI commands
- .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
- Bug: python-dotenv doesn't load 1Password “mounted” .env files (looks like a FIFO / fd-backed file)
- Feature Request: Unloading function unload_dotenv()
- feat: Add waiting logic for FIFO files that may not be immediately readable
- rewrite always finishes with an error when the file is on a Windows host
- Docs
- Python not yet supported