Skip to content

Streaming reads? #55

@relaxbox

Description

@relaxbox

I spent a little time looking through the code, so I apologize if I just missed something -- is it possible to stream the contents of a blob without reading the whole thing to memory or disk? The only methods I see accept a file-like object and write all content directly into it, or similarly a filename.

Both necessitate reading the whole blob before handing control back to the caller, so working with large files is extremely awkward / impossible. I suppose a workaround could be to use this library in a thread and write to a file-like object that acts as in intermediary, but that seems like a huge onus to put on the caller.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions