Hacker GitHub

← All repos

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

Mentions per year 17 mentions · busiest year 2024 (4)
20082026
  1. …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/
  2. ▲ 4
    WeasyPrint
    story by saikatsg · 2025-10-12 · 0 comments
  3. 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
  4. 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
  5. …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
  6. 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
  7. …one - a single row w/ 3 columns - so YMMV with how it handles more complex layouts. [1]: https://github.com/Kozea/WeasyPrint/pull/579
  8. …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...
  9. Is there an open source pure-.NET library that implements this? I've heard good things about https://github.com/Kozea/WeasyPrint in Python.
  10. This issue? https://github.com/Kozea/WeasyPrint/issues/1719
  11. 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.
  12. …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
  13. …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
  14. ▲ 5
    WeasyPrint – Convert web documents to PDF
    story by testing_1_2_3_4 · 2021-03-28 · 0 comments
  15. ▲ 2
    WeasyPrint – Convert web documents to PDF
    story by sdsk8 · 2018-12-12 · 0 comments
  16. …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
  17. ▲ 1
    WeasyPrint: HTML to PDF Rendering Engine in Python
    story by vmorgulis · 2015-06-27 · 0 comments