-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allows parse_dotenv(stream=StringIO())
#78
Conversation
parse_dotenv(stream=StringIO())
parse_dotenv(stream=StringIO())
parse_dotenv(stream=StringIO())
This looks good. Some tests are failing due to installation flake8 issues on travis for python 3.4, that I'll fix up. Would it be possible for you to add some test cases and related documentation as well, for this so others can followup and use this functionality. |
Sure. But not "right now". Probable after the new year I can get back to work in tests/docs. Thanks for reviewing it. |
Docs and Tests included. |
Thanks @alanjds, look great merging this in. Will update changelog in master and make a release. :) Also i think, i'm going to update
with
|
Backwards-compatible API for
parse_dotenv()
that allows a stream having a dotfile to be parsed.The other option would be to save my already-existing stream in disk and providing the filepath, but this could have security and performance considerations.