weasyprint

Install command:
brew install weasyprint

Convert HTML to PDF

https://www.courtbouillon.org/weasyprint

License: BSD-3-Clause

Development: Pull requests

Formula JSON API: /api/formula/weasyprint.json

Formula code: weasyprint.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 69.0

Depends on:

cffi 2.0.0 C Foreign Function Interface for Python
pango 1.57.1 Framework for layout and rendering of i18n text
pillow 12.2.0 Friendly PIL fork (Python Imaging Library)
python@3.14 3.14.5 Interpreted, interactive, object-oriented programming language

Analytics:

Installs (30 days)
weasyprint 2,330
weasyprint --HEAD 7
Installs on Request (30 days)
weasyprint 2,326
weasyprint --HEAD 7
Build Errors (30 days)
weasyprint 0
Installs (90 days)
weasyprint 5,743
weasyprint --HEAD 12
Installs on Request (90 days)
weasyprint 5,738
weasyprint --HEAD 12
Installs (365 days)
weasyprint 18,878
weasyprint --HEAD 37
Installs on Request (365 days)
weasyprint 18,817
weasyprint --HEAD 37