WeasyPrint - A Python library that renders HTML and CSS to PDF in-process, with fewer moving parts.
The appeal of WeasyPrint is straightforward: it runs where you decide. A Python library that renders HTML and CSS to PDF in-process, with fewer moving parts. The trade-off is a little more hands-on work in exchange for keeping everything local.
Links
- Website: https://weasyprint.org/
Alternatives
- wkhtmltopdf: An older command-line converter that still works, though its engine shows its age.
- Puppeteer: A compact Chrome control library that suits scripted jobs better than long-running agents.
- Apache Tika: Mature content extraction across many file types, with a different output model.