-
Notifications
You must be signed in to change notification settings - Fork 692
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
Pickle implementation for PDF and Page objects #1059
Comments
Hi @rajathsalegame, and thanks for the suggestion. I agree that this could be a useful feature. Unfortunately for your To better understand the request, could you provide a bit more detail about your goals with multiprocessing and at what specific stage in your pipeline you'd be pickling/unpickling? |
Hi, in my case, I need to apply BTW, if I do something like:
It seems the error info is not about page being unpickable, but:
Does this make multiprocess with pdfplumber a bit easier? |
For anyone who's interested, a work-around for
|
However, pdfplumber.open() itself costs too much time if there are 100 or more pages in the pdf file. So the pickle implementation is really useful! |
Would love it if there was a way a pickling implementation could be implemented for
Page
orPDF
objects. Currently none exists and makes working with things likemultiprocessing
a bit harder if one is interested in speeding up pdf processing over pages. Any advice or workaround from the community would be much appreciated :)The text was updated successfully, but these errors were encountered: