Category "pypdf2"

only algorithm code 1 and 2 are supported

I would like to read the pdf file. This is a book.pdf with a password (256 bit AES encryption). I know a password. I am using Jupyter Notebook. I get an error:

Select only first page of PDF with PyPDF2

I am trying to strip out only the first page of multiple PDF files and combine into one file. (I receive 150 PDF files a day, the first page is the invoice whic

How to add watermark in all pages of PDF files with python?

I'm try to adding watermark to every pages of my PDF file.My PDF files have 58 pages but my output file has get only last page in my PDF file. This's my code:

How to extract text from a Specific Area in a PDF using Python?

I'm trying to extract Text from a PDF using Python, and I have successfully done so using PyPDF2 like this: from PyPDF2 import PdfFileReader reader = PdfFileRea

Concatenating PDF files in memory with PyPDF2

I wish to concatenate (append) a bunch of small pdfs together effectively in memory in pure python. Specifically, an usual case is 500 single page pdfs, each wi

EOF marker not found while use PyPDF2 merge pdf file in python

When I use the following code from PyPDF2 import PdfFileMerger merge = PdfFileMerger() for newFile in nlst: merge.append(newFile) merge.write("newFile.pdf

Use PyPDF2 to detect non-embedded fonts in PDF file generated by Google Docs

I was hoping someone could help me write a Python function to detect any fonts in the file which are not embedded in the file. I've attempted to use the script

PyPDF2 nested bookmarks with same name not working

When you try and nest several bookmarks with the same name, PyPDF2 does not take it into account. Below self-contained python code to test what I mean (you need

Update a fillable pdf using PyPDF2

I'm having trouble updating named fields in a fillable pdf. My code is as shown: from PyPDF2 import PdfFileReader, PdfFileWriter reader = PdfFileReader("invoic

Type the name of an object in python interpreter - what method is it called?

What method is it called when I type the name of the object? I always thought that it was calling either repr or str but that doesn't hold in case of the PageOb

Read PDF metadata using PyPDF2

I've tried to extract metadata with PyPDF2 and pdfminer.six and got: reader = PdfFileReader("example.pdf") info = pdf.getDocumentInfo() gets response: {'/Title