pkg.sopackage field notes

brew / 順位 1068

weasyprint を Homebrew でインストール

weasyprint のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install weasyprint

provider-native install command

概要

パッケージ概要

Convert HTML to PDF

コマンドとエイリアス

  • weasyprint

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2011-10-28: PyPI records WeasyPrint 0.1, the first release.
  • 2011-11-02: Simon Sapin publishes an announcement explaining the first release and the decision not to build on WebKit or Gecko.
  • 2020-10-12: CourtBouillon publicly announces that it is the new organization maintaining WeasyPrint.
  • 2026-01-19: WeasyPrint 68.0 is released as a security update and refactors URL fetching APIs.
  • 2026-06-02: WeasyPrint 69.0 is released as a security update and adds further CSS and PDF-related features.

Related projects

  • WeasyPrint is commonly compared with wkhtmltopdf, PagedJS, Prince, Antenna House, Typeset.sh, browser print-to-PDF workflows, LaTeX, and LibreOffice-based document generation. Its Python stack includes libraries for HTML, CSS, font, image, and PDF handling rather than a full browser engine.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • Homebrew bottle メタデータは記録されていません。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
weasyprint実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-08-03
マネージャ版69.0
マネージャ更新日2026-06-03
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:weasyprint
バージョン69.0
パッケージマネージャHomebrew
ホームページhttps://www.courtbouillon.org/weasyprint
最終更新2026-06-03T18:44:54Z
Pulseupdated
Bottle未記録
サービス宣言なし

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • curated package history
  • pkgdb category and tag curation