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(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
- feat: generate template from .env file
- fix: incorrect uv commands in CONTRIBUTING.md and .gitignore update
- perf(python-dotenv): replace dict merge with ChainMap in resolve_variables
- perf: replace regex findall with str.count in parser advance()
- docs: redo docs, use zensical, and follow diatrix
- Replaced IOError with FileNotFoundError on line 320 of main.py to use a more specific and appropriate exception for file not found errors.
- fix: treat inline comment as empty value when key= is followed by # comment
- Docs
- Python not yet supported