-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Description
I'm currently working on a web based interface for reading BTL files. One of the challenges this creates is that the web browser passes a "Stream" rather than a file to the server. I'd like to see if I can create a from_btl_stream(file_stream) function that will basically be the same as the from_btl(fname) function after the _read_file(fname) function has been called.
The Django web server gets an InMemoryUploadedFile, which can easily get opened as an io.StringIO stream. So I just need a hook to by-pass _read_file()
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels