python-dotenv
python-dotenv copied to clipboard
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.
Provide a functional-style method to enable use outside of the main class. Happy to provide tests as needed. Current tests appear to cover this change functionally.
fixed grammar error.
I just changed the with block to `dest = ...` since `delete=False` was preventing it from being cleaned up anyway, and then set a default value for `dest` in case...
Look at: https://github.com/theskumar/python-dotenv/blob/master/src/dotenv/main.py#L136 If lines 136, 137 or 140 there are ever hit, an error "local variable 'dest' referenced before assignment" will be thrown, because the `dest` variable only exists...
Closes #354
Hi, Sometimes we can not share .env file. However it would be useful if we could generate a `.env.example` from it which contains all the comments and keys name in...
When trying to use set_key to create a .env file if one dosn't exist the first line works great but the second line always fails with this line because of...
In some scenarios (say if you want clear deterministic behaviour for a production app) it is desirable to immediately fail with an obvious error if the specified env file is...
Hi, How can we enable bash completion for the dotenv CLI command?