Logo
3.7.0

User Guide

  • Installation
  • Migration Guide: 1.x to 2.x
  • Imports and Modules
  • Naming Adjustments
  • Robustness and strict=False
  • Exceptions, Warnings, and Log messages
  • Metadata
  • Extract Text from a PDF
  • Extract Images
  • Extract Attachments
  • Encryption and Decryption of PDFs
  • Merging PDF files
  • Cropping and Transforming PDFs
  • Transforming several copies of the same page
  • Adding a Stamp/Watermark to a PDF
  • Reading PDF Annotations
  • Adding PDF Annotations
  • Interactions with PDF Forms
  • Streaming Data with pypdf
  • Reduce PDF Size
  • PDF Version Support

API Reference

  • The PdfReader Class
  • The PdfWriter Class
  • The PdfMerger Class
  • The PageObject Class
  • The Transformation Class
  • The DocumentInformation Class
  • The XmpInformation Class
  • The Destination Class
  • The RectangleObject Class
  • The Field Class
  • The PageRange Class
  • The AnnotationBuilder Class
  • The Fit Class
  • The PaperSize Class

Developer Guide

  • Developer Intro
  • The PDF Format
  • CMaps
  • The Deprecation Process
  • Documentation
  • Testing

About pypdf

  • CHANGELOG
  • Changelog of PyPDF2 1.X
  • Project Governance
  • History of pypdf
  • Contributors
  • Scope of pypdf
  • pypdf vs X
  • Frequently-Asked Questions
pypdf
  • Welcome to pypdf
  • Edit on GitHub

Welcome to pypdf

pypdf is a free and open source pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. It can also add custom data, viewing options, and passwords to PDF files. pypdf can retrieve text and metadata from PDFs as well.

You can contribute to pypdf on GitHub.

User Guide

  • Installation
  • Migration Guide: 1.x to 2.x
  • Imports and Modules
  • Naming Adjustments
  • Robustness and strict=False
  • Exceptions, Warnings, and Log messages
  • Metadata
  • Extract Text from a PDF
  • Extract Images
  • Extract Attachments
  • Encryption and Decryption of PDFs
  • Merging PDF files
  • Cropping and Transforming PDFs
  • Transforming several copies of the same page
  • Adding a Stamp/Watermark to a PDF
  • Reading PDF Annotations
  • Adding PDF Annotations
  • Interactions with PDF Forms
  • Streaming Data with pypdf
  • Reduce PDF Size
  • PDF Version Support

API Reference

  • The PdfReader Class
  • The PdfWriter Class
  • The PdfMerger Class
  • The PageObject Class
  • The Transformation Class
  • The DocumentInformation Class
  • The XmpInformation Class
  • The Destination Class
  • The RectangleObject Class
  • The Field Class
  • The PageRange Class
  • The AnnotationBuilder Class
  • The Fit Class
  • The PaperSize Class

Developer Guide

  • Developer Intro
  • The PDF Format
  • CMaps
  • The Deprecation Process
  • Documentation
  • Testing

About pypdf

  • CHANGELOG
  • Changelog of PyPDF2 1.X
  • Project Governance
  • History of pypdf
  • Contributors
  • Scope of pypdf
  • pypdf vs X
  • Frequently-Asked Questions

Indices and tables

  • Index

  • Module Index

  • Search Page

Next

© Copyright 2006 - 2008, Mathieu Fenniak. Revision 050bca67.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: 3.7.0
Versions
latest
stable
3.7.0
3.6.0
3.5.2
3.5.1
3.5.0
3.4.1
3.4.0
3.3.0
3.2.1
3.2.0
3.1.0
3.0.0
Downloads
On Read the Docs
Project Home
Builds