pikepdf 8.15.1


Read and write PDFs with Python, powered by qpdf

Read and write PDFs with Python, powered by qpdf

Stars: 2034, Watchers: 2034, Forks: 182, Open Issues: 42

The pikepdf/pikepdf repo was created 6 years ago and the last code push was 3 days ago.
The project is very popular with an impressive 2034 github stars!

How to Install pikepdf

You can install pikepdf using pip

pip install pikepdf

or add it to a project with poetry

poetry add pikepdf

Package Details

GitHub Repo:


  • Multimedia/Graphics
  • Software Development/Libraries
No  pikepdf  pypi packages just yet.


A list of common pikepdf errors.

Code Examples

Here are some pikepdf code examples and snippets.

GitHub Issues

The pikepdf package has 42 open issues on GitHub

  • Calling check() after generate_appearance_streams()
  • Add Rectangle operators '<=' and '&'
  • Unable to install on alpine - dependency issue with qpdf
  • Better visibility for release notes / changelog
  • Feature: Add simple Drawings to existing PDF (line, rectangle etc.)
  • Page.rotate API is potentially confusing/violates expectations
  • PdfImage unable to handle image type
  • page.images is empty
  • Adding text annotations to a page
  • How to preserve internal hyperlinks

See more issues on GitHub

Related Packages & Articles

ocrmypdf 16.2.0

OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched

pdfrw 0.4

pdfrw is a Python library and utility that reads and writes PDF files.