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: incorrect uv commands in CONTRIBUTING.md and .gitignore update
- perf: 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
- 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
- Docs
- Python not yet supported