WeasyPrint
Visual rendering engine for HTML and CSS that exports to standards-compliant PDF.
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.
Learn WeasyPrint by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide2 sections
Overview of WeasyPrint
WeasyPrint formats HTML markup into print-ready PDF brochures and company financial accounts.
Quickstart
pip install weasyprintweasyprint document.html output.pdfWeasyPrint is licensed under the BSD 3-Clause License.
Related tools
More options with a similar category or technology profile.
activecampaign-api-php
Official ActiveCampaign PHP API client for marketing automation and deal pipelines.
klaviyo-api-python
Official Python SDK for the Klaviyo E-commerce Marketing Automation API.
klaviyo-api-node
Official Node.js SDK for the Klaviyo E-commerce Marketing Automation API.
hubspot-api-python
Official Python client for the HubSpot CRM & Marketing Automation REST APIs.