pymupdf

Install command:
brew install pymupdf

Python bindings for the PDF toolkit and renderer MuPDF

https://pymupdf.readthedocs.io/en/latest/

License: AGPL-3.0-only

Development: Pull requests

Formula JSON API: /api/formula/pymupdf.json

Formula code: pymupdf.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 1.27.2

Depends on:

mupdf 1.27.2 Lightweight PDF and XPS viewer
python@3.14 3.14.3 Interpreted, interactive, object-oriented programming language

Depends on when building from source:

freetype 2.14.2 Software library to render fonts
python-setuptools 82.0.1 Easily download, build, install, upgrade, and uninstall Python packages
swig 4.4.1 Generate scripting interfaces to C/C++ code

Analytics:

Installs (30 days)
pymupdf 626
pymupdf --HEAD 1
Installs on Request (30 days)
pymupdf 551
pymupdf --HEAD 1
Build Errors (30 days)
pymupdf 0
Installs (90 days)
pymupdf 1,540
pymupdf --HEAD 1
Installs on Request (90 days)
pymupdf 1,284
pymupdf --HEAD 1
Installs (365 days)
pymupdf 6,361
pymupdf --HEAD 11
Installs on Request (365 days)
pymupdf 5,451
pymupdf --HEAD 11