FICHA · MANJARO

python-weasyprint

Utility to render HTML and CSS to PDF

  • development-tool
  • CLI
  • Dev
  • DOCUMENTS
  • Launchable
  • Runs in terminal
official+codex · reviewed · May 28, 2026 description in en

Description

Turns HTML and CSS documents into PDF files while preserving page layout, typography, and print-oriented styling. It is useful for reports, invoices, documentation, and web pages that need a stable printable form.

Use it from the command line or from Python code. PDF output depends on the HTML, CSS, fonts, and linked assets provided, so check the generated document before sending or archiving it.

How to run

weasyprint

Commands: weasyprint

Permissions

Permissions not analysed for this source yet.