theskumar / python-dotenv

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.
https://saurabh-kumar.com/python-dotenv/
BSD 3-Clause "New" or "Revised" License
7.55k stars 425 forks source link

Support for dumping to a .env file? #502

Open mattwwarren opened 7 months ago

mattwwarren commented 7 months ago

I took a cursory glance through the code and it looks like the library supports loading files but not writing them back out. Would you be interested in that contribution? I need to write it for $JOB and would prefer it lives here.

Thanks in advance!