macOS
brew install pymupdflocal Homebrew formula metadata
brew / rank 1739
Python bindings for the PDF toolkit and renderer MuPDF. Version 2.0 via Homebrew; verified 2026-10-30. Also installable with debian: sudo apt install python3-fitz.
install
brew install pymupdflocal Homebrew formula metadata
sudo apt install python3-fitzDebian stable package indexes · python3-fitz · source: deb.debian.org
overview
Python bindings for the PDF toolkit and renderer MuPDF
history
PyMuPDF is a high-performance Python binding to MuPDF for reading, rendering, extracting, converting, and modifying documents.
PyMuPDF developed as Python bindings for the MuPDF engine and tracked MuPDF's expanding support for PDF, XPS, EPUB, CBZ, images, and related formats.
Early releases used `fitz` as the Python import name, reflecting MuPDF's rendering-engine history. The project later adopted `pymupdf` as the preferred import while retaining `fitz` as a compatibility fallback.
PyMuPDF is published as a Python package and packaged by Homebrew, Debian, and Ubuntu according to the supplied facts. Its availability as prebuilt Python wheels and its broad document-format support have made it a common choice for programmatic PDF extraction and rendering.
Import `pymupdf`, open a document with `pymupdf.open(path)`, and iterate its pages to extract text, render pixmaps, inspect images, or manipulate supported PDF structures.
Use PyMuPDF when document work must be embedded in Python applications. Many non-PDF formats can be read and converted, while modification operations primarily target PDF documents.
PyMuPDF exposes MuPDF's native rendering and document engine through a Pythonic API, giving Python users unusually broad access to text and image extraction, page rendering, annotations, redaction, document conversion, and low-level PDF objects. Package users should also know that the historic import name `fitz` can collide with an unrelated package.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
pymupdf | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://pymupdf.readthedocs.io/en/latest/
install metadata
| Package key | brew:pymupdf |
|---|---|
| Version | 2.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/pymupdf |
| Homepage | https://pymupdf.readthedocs.io/en/latest/ |
| Upstream docs | https://pymupdf.readthedocs.io/en/latest/ |
| License | AGPL-3.0-only |
| Source archive | https://files.pythonhosted.org/packages/b0/23/3575cf6652171bba33fd4b41d34ab92c7ee75bb5e5790f5a2a044b9ba49b/pymupdf-2.0.tar.gz |
| Last updated | 2026-10-30T12:25:08+02:00 |
| Pulse | updated |
| Dependencies | mupdf, python@3.15 |
| Build dependencies | freetype, swig |
| Bottle | available (on arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | pymupdf |
| Version Scheme | 0 |
| Revision | 1 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
python3-fitz 1.25.4+ds1-3+deb13u1
Python binding for MuPDF (forward compatibility name)
https://github.com/pymupdf/PyMuPDF
sudo apt install python3-fitzpython3-pymupdf 1.25.4+ds1-3+deb13u1
Python binding for MuPDF
https://github.com/pymupdf/PyMuPDF
sudo apt install python3-pymupdfpython3-fitz 1.23.7+ds1-1ubuntu2
Python binding for MuPDF
https://github.com/pymupdf/PyMuPDF
sudo apt install python3-fitzsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.