PyMuPDFb
MuPDF shared libraries for PyMuPDF.
What it is and what it does
PyMuPDFb is the compiled binary distribution of MuPDF's C rendering engine, packaged as a dependency for PyMuPDF. It provides the low-level PDF processing primitives—text extraction with font and position metadata, page rendering to images, annotation handling, and document manipulation—without requiring system-level PDF libraries or mandatory Python dependencies. The package ships pre-built wheels for major platforms (Windows, macOS, Linux on x86_64 and ARM architectures), reducing installation friction for most users.
PyMuPDFb is typically installed as a transitive dependency when you install pymupdf. It enables high-performance document processing suitable for data extraction pipelines, AI/LLM workflows, and batch document conversion. The AGPL license means derivative works must be released under the same terms unless a commercial license is obtained.
Use it for:
- Extract text and layout metadata from PDFs for data pipelines and AI workflows
- Render PDF pages to images at arbitrary DPI for document preview or archival systems
- Detect and extract tables from PDFs and convert them to Markdown or structured data
- Merge, split, and reorder pages across multiple PDF documents in batch workflows
- Apply annotations, redactions, and form-field updates to PDFs programmatically
- Convert documents to PDF with full fidelity using optional extensions
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
PyMuPDFb provides the compiled MuPDF C engine binaries that power PyMuPDF's PDF processing—text extraction, rendering, annotation, and document conversion without mandatory external dependencies.
Yes, if you need PDF processing in Python and accept the AGPL license terms. PyMuPDFb is actively maintained, widely deployed (4201745 monthly downloads), has no known vulnerabilities, and offers substantial performance advantages. Install friction is moderate but manageable via pre-built wheels on standard platforms. Verify your license compliance before using in proprietary applications.
Install
pymupdfb on PyPI
pip
pip install pymupdfbuv
uv add pymupdfbpoetry
poetry add pymupdfbInstalling PyMuPDFb
Before you install
Medium install friction due to platform-specific wheel distribution (macOS x86_64/arm64, Linux x86_64/aarch64/musllinux, Windows x86/x86_64). Pre-built wheels available; source compilation required on unsupported platforms. Active maintenance with recent commits and 10474 repository stars.
License in practice
Licensed under GNU AFFERO GPL 3.0. Derivative works and network-distributed modifications must be released under the same license; proprietary use requires a commercial license or separate unlock.
Quickstart
pip install pymupdf
import pymupdf
doc = pymupdf.open("document.pdf")
for page in doc:
print(page.get_text())
Verify before relying
- Whether pymupdfb can be used standalone or only as a dependency of pymupdf
- Exact performance benchmarks claimed in description but not independently verified
- Whether all listed output formats are available in base pymupdfb or require optional packages
Package facts
| License | GNU AFFERO GPL 3.0 (agpl) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 711 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 4,201,745/month — #2,363 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: PyMuPDFb-1.24.10-py3-none-macosx_10_9_x86_64.whl; PyMuPDFb-1.24.10-py3-none-macosx_11_0_arm64.whl; PyMuPDFb-1.24.10-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; PyMuPDFb-1.24.10-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; PyMuPDFb-1.24.10-py3-none-musllinux_1_2_x86_64.whl; PyMuPDFb-1.24.10-py3-none-win32.whl; PyMuPDFb-1.24.10-py3-none-win_amd64.whl
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
pymupdfPyMuPDF extracts, renders, converts, and…
agpl · top 1,000 on PyPI
pymupdf-fontsProvides a collection of optional fonts…
unclear · top 15,000 on PyPI
pymupdf-layoutPyMuPDF Layout analyzes PDF structure and…
agpl · top 1,000 on PyPI
pymupdfproPyMuPDF Pro extends PyMuPDF with commercial…
unclear · top 15,000 on PyPI
pymupdf4llmConverts PDFs and documents into clean,…
agpl · top 1,000 on PyPI
pymupdf-stubsProvides type stubs for PyMuPDF to enable…
permissive · top 15,000 on PyPI
unPDFExtracts individual characters and metadata…
permissive · top 15,000 on PyPI
pdftextExtracts plain text or structured blocks,…
permissive · top 15,000 on PyPI
pdf-oxideExtracts text, images, and metadata from PDFs…
permissive · top 15,000 on PyPI
aspose-wordsAspose.Words for Python is a document…
unclear · top 15,000 on PyPI