TiloBox
Back to directory
WeasyPrint project preview

WeasyPrint

Visual rendering engine for HTML and CSS that exports to standards-compliant PDF.

LicenseBSD-3-Clause
GitHub stars8.5k
Last commit1 weeks ago
Tags5 topics
Python Pdf GeneratorCss Paged MediaWeasyprint EngineDeveloper ToolsHtml Css To Pdf
Overview

Why consider WeasyPrint?

WeasyPrint is an open-source visual rendering engine for Python that converts HTML documents styled with CSS into high-quality PDF files. It complies with W3C CSS Paged Media specifications, supporting automatic page breaks, footers, crop marks, and CMYK color profiles for commercial printing.

Guided learning

Learn WeasyPrint by building

Practical setup notes, real use cases, and copy-ready examples in one focused guide.

1 min read 2 sections
In this guide2 sections

Overview of WeasyPrint

WeasyPrint formats HTML markup into print-ready PDF brochures and company financial accounts.

Quickstart

bash
1pip install weasyprint
2weasyprint document.html output.pdf

WeasyPrint is licensed under the BSD 3-Clause License.

Related tools

More options with a similar category or technology profile.

WeasyPrint FAQs

WeasyPrint is listed as a Business tool on TiloBox. Review the overview, features, and official documentation on this page to decide whether it solves your specific workflow.

Start with the project's GitHub repository and official website for supported installation and deployment instructions. Test the setup with representative data or a small project before rolling it out more widely.

WeasyPrint is listed under the BSD-3-Clause license. Read the complete license text and the project's notices before using, modifying, or distributing the software.

Production readiness depends on your requirements. Review maintenance activity, security practices, documentation, backup and upgrade procedures, and compatibility with your stack; then validate it in a non-production environment.

WeasyPrint is listed as an alternative to DocRaptor. Compare the core workflow, deployment model, integrations, and licensing against your must-have requirements before switching.