macOS
brew install weasyprintlocal Homebrew formula metadata
brew / 順位 1068
weasyprint のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install weasyprintlocal Homebrew formula metadata
sudo apk add weasyprintAlpine Linux edge package indexes · weasyprint · ソース: dl-cdn.alpinelinux.org
sudo apt install weasyprintDebian stable package indexes · weasyprint · ソース: deb.debian.org
sudo dnf install weasyprintFedora Rawhide package metadata · weasyprint · ソース: dl.fedoraproject.org
scoop install main/weasyprintScoop official bucket manifest trees · bucket/weasyprint.json · ソース: api.github.com
概要
Convert HTML to PDF
履歴
WeasyPrint is a free, BSD-licensed HTML and CSS rendering engine that exports paged documents as PDF. It is used from the command line or Python API to turn web-standard markup into invoices, reports, tickets, books, documentation, and other static documents.
Unlike browser-wrapper PDF tools, WeasyPrint is not based on WebKit or Gecko. Its layout engine is written in Python and is intentionally focused on paged media rather than interactive web browsing.
WeasyPrint was created and developed by Kozea. Simon Sapin announced the first release in late 2011 after working with Kozea for several months; the PyPI timeline records version 0.1 on October 28, 2011, and Sapin's November 2, 2011 post describes it as a rendering engine for HTML and CSS that produces PDF.
The project was created to fill a gap in open-source document generation. WeasyPrint's own documentation notes that web engines had limited pagination support when the project began in 2011, while dedicated paged-media renderers such as Prince and Antenna House were powerful but not open source.
In October 2020, maintainership moved into the CourtBouillon organization. A GitHub issue titled 'The future of WeasyPrint' announced that CourtBouillon, composed of Guillaume Ayoub and Lucie Anglade, was the new organization maintaining the project. The current project website says professional support, maintenance, and community management are provided by CourtBouillon.
WeasyPrint's adoption has followed the broad demand for server-side document generation in web applications. Its documentation frames the main use case as automatic generation of PDFs from HTML and CSS for business and publishing documents, using technologies already familiar to web developers and designers.
The project has also matured through regular releases and sponsor-backed work. Recent changelog entries list security releases, new PDF standards work, CSS features, SVG improvements, and named sponsors and backers, showing that it is maintained as production infrastructure rather than a one-off converter.
From the shell, users typically run the weasyprint command with an input HTML document or URL and an output PDF path. From Python, applications instantiate HTML and CSS objects and render or write PDFs programmatically.
Because WeasyPrint is focused on paged media, its value is strongest when CSS print rules, page breaks, generated content, fonts, metadata, attachments, PDF/A or electronic-invoice features, and reproducible layout matter more than JavaScript execution or browser fidelity.
WeasyPrint is package-nerd significant because it is a substantial pure-open-source renderer in a space often served by headless browsers or commercial engines. It chose the hard route of implementing layout logic for paginated output instead of wrapping a general-purpose browser engine.
It also tracks a browser-like release philosophy. The documentation warns that major versions can change rendered output, which is what matters for document generation, even when APIs remain compatible.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
weasyprint | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://www.courtbouillon.org/weasyprint
インストールメタデータ
| パッケージキー | brew:weasyprint |
|---|---|
| バージョン | 69.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/weasyprint |
| ホームページ | https://www.courtbouillon.org/weasyprint |
| 上流ドキュメント | https://www.courtbouillon.org/weasyprint |
| ライセンス | BSD-3-Clause |
| ソースアーカイブ | https://files.pythonhosted.org/packages/59/53/dcc3885c2f7a47faa45f6b8b801412f5f9e055173a52801ef01c09943c5a/weasyprint-69.0.tar.gz |
| 最終更新 | 2026-06-03T18:44:54Z |
| Pulse | updated |
| 依存関係 | cffi, pango, pillow, python@3.14 |
| macOS 提供ライブラリ | libffi |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | weasyprint |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
weasyprint 62.3-1
Document factory for creating PDF files from HTML
sudo apt install weasyprintweasyprint 61.1-1
Document factory for creating PDF files from HTML
sudo apt install weasyprintweasyprint 69.0-r0
A visual rendering engine for HTML and CSS that can export to PDF
sudo apk add weasyprintweasyprint-pyc 69.0-r0
Precompiled Python bytecode for weasyprint
sudo apk add weasyprint-pycpython3-weasyprint 69.0-2.fc45
Python library to render HTML and CSS to PDF
sudo dnf install python3-weasyprintweasyprint 69.0-2.fc45
Utility to render HTML and CSS to PDF
sudo dnf install weasyprintmain/weasyprint
scoop install main/weasyprintソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.