Skip to main content
Help us improve Python packaging – donate today!

PDF toolkit

Project Description

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,
  • cropping pages,
  • 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 currently works best with Python versions 2.5 - 2.7, though we’re working to make it fully compatible with Python 3+

Release history Release notifications

History Node

1.26.0

History Node

1.25.1

History Node

1.25

History Node

1.24

History Node

1.23

History Node

1.22

History Node

1.21

History Node

1.20

This version
History Node

1.19

History Node

1.18

History Node

1.17

History Node

1.16

History Node

1.15

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
PyPDF2-1.19.tar.gz (48.3 kB) Copy SHA256 hash SHA256 Source None Oct 9, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page