You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Reader class expects a filename and uses open() to get a file object. I think if you would use io.BytesIO instead it would be a drop-in replacement (apart from some small changes in the code where a filename is expected).
Please let me know if you're interested in submitting a PR, otherwise it might take a little bit longer to add this feature.
I am using this reader in a flask API.
I would like to be able to use this reader with a io.BytesIO or io.StringIO so there is no need to create a temporal file in the system.
The text was updated successfully, but these errors were encountered: