A Pure-Python library built as a PDF toolkit. It is capable of:
extracting document information (title, author, …),
splitting documents page by page,
merging documents page by page,
merging multiple pages into a single page,
encrypting and decrypting PDF files.
By being Pure-Python, it should run on any Python platform without any dependencies on external libraries. It can also work entirely on StringIO objects rather than file streams, allowing for PDF manipulation in memory. It is therefore a useful tool for websites that manage or manipulate PDFs.
PyPDF2 is now compatible with Python versions 2.6 - 3.3
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.