-
Notifications
You must be signed in to change notification settings - Fork 952
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
Allow calling high level functions with file-like objects #392
Comments
No breaking changes is indeed what we want. But you can do it like the [ |
…er#393) * Allow file-like inputs to high level functions (pdfminer#392) * PR Review - move open_filename to utils (cherry picked from commit 1a4a06d)
Feature request
Some of the functions (
extract_text
andextract_pages
) in high_level.py takepdf_file
as a parameter, the path to the pdf file. This means the PDF file must be on the hard drive.It would be nicer if there were functions available which allowed any file-like object (like
extract_text_to_fp
does). This means I can still call the functions even if the PDF isn't on my hard drive.I would guess we don't want breaking changes to the existing functions (?), so will create new
*_from_io
functions, and then the API for the existing ones will be unchanged.The text was updated successfully, but these errors were encountered: