py-pdf/pypdf
A pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 99
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 7.0
- age_days: 5353
- days_rel: 10
- days_push: 7
- n_releases_24m: 55
Adoption not part of the score
10173 stars · 1617 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
pypdf is a free, open-source, pure-Python library for manipulating PDF files. It supports splitting, merging, cropping, and transforming pages, as well as extracting text and metadata, adding annotations, watermarks, and encryption.
Use cases
- merge multiple pdf files into one
- split a pdf into separate pages
- extract text from a pdf in python
- add a password to a pdf
- crop and rotate pdf pages
- read pdf metadata and annotations
- add a watermark to a pdf
When to choose
- you need to manipulate PDFs programmatically in Python without external dependencies
- you want to merge, split, or transform PDF pages
- you need to extract text or metadata from PDFs
- you want to encrypt, decrypt, or annotate PDFs
When to avoid
- you need to render PDFs visually or create complex PDF layouts from scratch
- you need a command-line tool (see pdfly instead)
- you need high-fidelity OCR of scanned documents
Facets
library · maturity active
pdf parser ocr pdf files developer-tools python cross-platform pdf-manipulation pdf-parsing text-extraction encryption merging splitting pure-python
3 sources
- readme: https://github.com/py-pdf/pypdf · fetched 2026-08-28 · ea60d3ebf81e
- homepage: https://pypdf.readthedocs.io/en/latest/ · fetched 2026-08-29 · ff990c974aca
- registry_pypi: https://pypi.org/pypi/pypdf/json · fetched 2026-08-29 · 75791d35b106
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| py-pdf/pypdf | main | 99 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem