# PyPDF2 — card for AI agents

Pure Python library for splitting, merging, cropping and transforming PDF files.

Category: Files, images and media · PyPI package `pypdf2` · latest version 3.0.1 (checked 2026-11-01)
Install: `pip install pypdf2`
License: BSD (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 63.9 (#741 of all tools, 48 of 281 in its category)
- Used in 30 public projects set up for AI coding agents (0.5%)
- Downloads last week: 3,805,712 (as of 2026-11-24), +3.7% over 4 weeks
- GitHub stars: 10,307 (as of 2026-11-24)
- Last push: 2026-11-23

## Often used with
python-dotenv 70.0%, Uvicorn 63.3%, FastAPI 56.7%, NumPy 53.3%, pandas 46.7%, OpenAI Python Library 43.3%

## Checked alternatives (same job)
- PyPDF: https://agentgid.com/tools/pypdf/agent.md
- PyMuPDF: https://agentgid.com/tools/pymupdf/agent.md
- pdfplumber: https://agentgid.com/tools/pdfplumber/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/pypdf2/
- Repository: https://github.com/py-pdf/PyPDF2

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
