# PyMuPDF — card for AI agents

High-performance library for PDF extraction, conversion and manipulation.

Category: Files, images and media · PyPI package `pymupdf` · latest version 2.0 (checked 2026-11-01)
Install: `pip install pymupdf`
License: Dual Licensed - GNU AFFERO GPL 3.0 or Artifex Commercial License (copyleft)

In your own product (generator, app, hosted service): **conditions**. Strong copyleft: a product you distribute with it must be released under the same license, with its source.

## Warnings
- The license is copyleft (Dual Licensed - GNU AFFERO GPL 3.0 or Artifex Commercial License): read it before shipping closed-source software or a hosted service.
- The package says Dual Licensed - GNU AFFERO GPL 3.0 or Artifex Commercial License but the repository says AGPL-3.0.

## Numbers (AgentGid data)
- Gid Score: 78.9 (#121 of all tools, 7 of 281 in its category)
- Used in 37 public projects set up for AI coding agents (0.6%)
- Downloads last week: 43,740,907 (as of 2026-11-24), +73.3% over 4 weeks
- GitHub stars: 11,185 (as of 2026-11-24)
- Last push: 2026-11-23

## Often used with
python-dotenv 48.6%, Pillow 45.9%, FastAPI 45.9%, Uvicorn 45.9%, Pydantic 43.2%, openpyxl 40.5%

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

## Links
- AgentGid page: https://agentgid.com/tools/pymupdf/
- Repository: https://github.com/pymupdf/PyMuPDF

---
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.
