pkg.soopen package index

brew / 排名 1739

使用 Homebrew, apt 安装 pymupdf

查看 pymupdf 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install pymupdf

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install python3-fitz

Debian stable package indexes · python3-fitz · 来源: deb.debian.org

概览

软件包摘要

Python bindings for the PDF toolkit and renderer MuPDF

命令和别名

  • pymupdf

历史

项目历史与用法

PyMuPDF is a high-performance Python binding to MuPDF for reading, rendering, extracting, converting, and modifying documents.

项目历史

PyMuPDF developed as Python bindings for the MuPDF engine and tracked MuPDF's expanding support for PDF, XPS, EPUB, CBZ, images, and related formats.

Early releases used `fitz` as the Python import name, reflecting MuPDF's rendering-engine history. The project later adopted `pymupdf` as the preferred import while retaining `fitz` as a compatibility fallback.

采用历史

PyMuPDF is published as a Python package and packaged by Homebrew, Debian, and Ubuntu according to the supplied facts. Its availability as prebuilt Python wheels and its broad document-format support have made it a common choice for programmatic PDF extraction and rendering.

使用方式

Import `pymupdf`, open a document with `pymupdf.open(path)`, and iterate its pages to extract text, render pixmaps, inspect images, or manipulate supported PDF structures.

Use PyMuPDF when document work must be embedded in Python applications. Many non-PDF formats can be read and converted, while modification operations primarily target PDF documents.

为什么软件包爱好者会关心

PyMuPDF exposes MuPDF's native rendering and document engine through a Pythonic API, giving Python users unusually broad access to text and image extraction, page rendering, annotations, redaction, document conversion, and low-level PDF objects. Package users should also know that the historic import name `fitz` can collide with an unrelated package.

时间线

  • 2016: The documented 1.9 series tracked MuPDF's contemporary rendering engine and expanded document and annotation APIs.
  • Later: `pymupdf` replaced `fitz` as the preferred Python import name while compatibility was retained.

Related projects

  • MuPDF supplies the underlying rendering and document-processing engine.
  • The PyMuPDF organization also maintains utilities, optional font resources, and higher-level document-extraction projects built around the core binding.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 5 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
pymupdfcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-11-04
管理器版本2.0
管理器更新时间2026-10-30
本地数据OK
上游not checked
检测到的最新版本未检测到

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

安装元数据

软件包元数据

软件包键brew:pymupdf
版本2.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/pymupdf
主页https://pymupdf.readthedocs.io/en/latest/
上游文档https://pymupdf.readthedocs.io/en/latest/
许可证AGPL-3.0-only
源码归档https://files.pythonhosted.org/packages/b0/23/3575cf6652171bba33fd4b41d34ab92c7ee75bb5e5790f5a2a044b9ba49b/pymupdf-2.0.tar.gz
最后更新2026-10-30T12:25:08+02:00
Pulseupdated
依赖mupdf, python@3.15
构建依赖freetype, swig
Bottle可用 (于 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepymupdf
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

python3-fitz 1.25.4+ds1-3+deb13u1

Python binding for MuPDF (forward compatibility name)

https://github.com/pymupdf/PyMuPDF

sudo apt install python3-fitz
  • Section: python
  • Architecture: all
  • Source Package: pymupdf
  • 2 依赖
  • normalized package name match
  • 匹配方式:Pymupdf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-fitz from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-pymupdf 1.25.4+ds1-3+deb13u1

Python binding for MuPDF

https://github.com/pymupdf/PyMuPDF

sudo apt install python3-pymupdf
  • Section: python
  • Architecture: amd64
  • Source Package: pymupdf
  • 6 依赖
  • normalized package name match
  • 匹配方式:Pymupdf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-pymupdf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

python3-fitz 1.23.7+ds1-1ubuntu2

Python binding for MuPDF

https://github.com/pymupdf/PyMuPDF

sudo apt install python3-fitz
  • Section: universe/python
  • Architecture: amd64
  • Source Package: pymupdf
  • 9 依赖
  • normalized package name match
  • 匹配方式:Pymupdf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-fitz from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation