Skip to content

Allow read_pdf to accept a file-like object #103

@Lnk2past

Description

@Lnk2past

In our use case we have PDF data streamed in memory from an external service; in order for us to process it using camelot we need to save that data out to a file and then pass the filename over. It would be great to be able to just send a file-like object through the interface instead, as this would save us from needing to write temporary files only to read them back in. I do not think there is a workaround for this at the moment, but if there is any information would be greatly appreciated.

I do not know if I will have time immediately soon to work on a PR, but does this sound like a reasonable feature to add?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions