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:

Apple Silicon sonoma
ventura
monterey
Intel sonoma
ventura
monterey
64-bit linux

Current versions:

stable 1.23.26

Depends on:

mupdf 1.23.11 Lightweight PDF and XPS viewer
python@3.12 3.12.3 Interpreted, interactive, object-oriented programming language

Depends on when building from source:

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

Analytics:

Installs (30 days)
pymupdf 315
pymupdf --HEAD 2
Installs on Request (30 days)
pymupdf 233
pymupdf --HEAD 2
Build Errors (30 days)
pymupdf 10
Installs (90 days)
pymupdf 1,187
pymupdf --HEAD 2
Installs on Request (90 days)
pymupdf 827
pymupdf --HEAD 2
Installs (365 days)
pymupdf 3,179
pymupdf --HEAD 3
Installs on Request (365 days)
pymupdf 1,877
pymupdf --HEAD 3
Fork me on GitHub