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

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

Formula code: pymupdf.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable 1.26.3

Revision: 2

Depends on:

mupdf 1.26.5 Lightweight PDF and XPS viewer
python@3.13 3.13.7 Interpreted, interactive, object-oriented programming language

Depends on when building from source:

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

Analytics:

Installs (30 days)
pymupdf 464
pymupdf --HEAD 1
Installs on Request (30 days)
pymupdf 416
pymupdf --HEAD 1
Build Errors (30 days)
pymupdf 0
Installs (90 days)
pymupdf 1,641
pymupdf --HEAD 5
Installs on Request (90 days)
pymupdf 1,474
pymupdf --HEAD 5
Installs (365 days)
pymupdf 6,244
pymupdf --HEAD 15
Installs on Request (365 days)
pymupdf 5,561
pymupdf --HEAD 15