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 a package build deprecation warning
- docs: clarify get_cli_string shell quoting behavior
- fix: write set_key values containing single quotes as double-quoted
- Feature Request: Automatically copy `default.env` to `.env`
- Automatically copy `default.env` to `.env`
- Add on_duplicate parameter to handle duplicate keys
- Fix `dotenv get` in case of handling of empty string values
- fix(parser): support bash-style single-quote splices in values
- feat: add `strict` parameter to `load_dotenv()` and `dotenv_values()`
- Add `strict` parameter to `load_dotenv()` and `dotenv_values()` for fail-fast behavior
- Docs
- Python not yet supported