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
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 2.1

Patches:

https://github.com/pymupdf/PyMuPDF/commit/4b4139e40fa68cd69e20e23c0f6360f818594f83

Depends on:

mupdf 1.28.6 Lightweight PDF and XPS viewer
python@3.15 3.15.2 Interpreted, interactive, object-oriented programming language

Depends on when building from source:

freetype 2.15.0 Software library to render fonts
swig 4.5.1 Generate scripting interfaces to C/C++ code

Binaries: pymupdf, pymupdf-config

Analytics:

30 days90 days365 days
Installs8211,6376,287
Installs (--HEAD)115
Installs on Request7551,4705,289
Installs on Request (--HEAD)115
Build Errors4