Kozea/WeasyPrint
View on GitHub ↗ ★ 9,752 Python
The awesome document factory
17 mentions on Hacker News by 16 people: 4 stories, 13 comments · first 2015-06-27 · latest 2026-03-02
20082026
-
…which doesn’t. print-css.rock [1] has a good overview of available tools and their features. [0]: https://github.com/Kozea/WeasyPrint [1]: https://print-css.rocks/
comment by Semaphor · 2026-03-02 · in Show HN: I built a zero-browser, pure-JS typesetting engine for bit-perfect PDFs -
I think the go to solution is weasyprint for this? https://github.com/Kozea/WeasyPrint
comment by malshe · 2025-09-27 · in Typst: A Possible LaTeX Replacement -
https://github.com/Kozea/WeasyPrint > From a technical point of view, WeasyPrint is a visual rendering engine for HTML and CSS that can export to PDF. It aims to support web standards for printing. WeasyPrint is free software made…
comment by sitkack · 2024-11-29 · in Using Pandoc and Typst to Produce PDFs -
…engine (modern HTML + CSS + the whole layout engine) made in pure Python, that can export to PDFs: https://github.com/Kozea/WeasyPrint They even support a lot of properties that aren't in Gecko/WebKit/Blink, like the @page rules.
comment by promiseofbeans · 2024-06-02 · in CSS written in pure Go -
To save everyone else a search: https://weasyprint.org/ https://github.com/Kozea/WeasyPrint
comment by mmh0000 · 2024-02-15 · in 1.5M PDFs in 25 Minutes -
…one - a single row w/ 3 columns - so YMMV with how it handles more complex layouts. [1]: https://github.com/Kozea/WeasyPrint/pull/579
comment by chrisfinazzo · 2024-01-17 · in Show HN: Htmldocs – Typeset and generate pdfs with HTML/CSS -
…https://www.w3.org/Style/CSS/Tracker/issues/334 2: https://github.com/w3c/csswg-drafts/issues/4760 3: https://github.com/Kozea/WeasyPrint/issues/93#issuecomment-4...
comment by trynewideas · 2023-01-18 · in QuestPDF: Modern .NET library for PDF document generation -
Is there an open source pure-.NET library that implements this? I've heard good things about https://github.com/Kozea/WeasyPrint in Python.
comment by password4321 · 2023-01-18 · in QuestPDF: Modern .NET library for PDF document generation -
This issue? https://github.com/Kozea/WeasyPrint/issues/1719
comment by phonon · 2022-11-18 · in Show HN: I am building a new Python library to read/write PDF files -
I can really recommend weasyprint for (markdown→)html→pdf generation: https://github.com/Kozea/WeasyPrint Things like columns, footers/headers, hyphenation are all easily done with modern CSS.
comment by Klasiaster · 2022-09-20 · in Diving deeper into custom PDF and ePub generation -
…making Jupiter work with it. I've seen Jupiter all over the place but haven't played with it. https://github.com/Kozea/WeasyPrint https://weasyprint.org/
comment by MilStdJunkie · 2022-06-29 · in Automated PDF Reports with Python Notebooks -
…it's a harder sell because of Python, which corporate types seem to think is bad hacker central. https://github.com/Kozea/WeasyPrint
comment by MilStdJunkie · 2021-04-05 · in Show HN: PDFs from HTML -
…header, but it's a very promising project. [1] https://wkhtmltopdf.org/usage/wkhtmltopdf.txt [2] https://github.com/Kozea/WeasyPrint/
comment by ZeKZ · 2018-10-21 · in Show HN: Webpage to PDF Microservice