WeasyPrint

WeasyPrint is a visual processing engine that converts HTML and CSS content into PDF format. This library, which supports web standards for printing processes, has a pagination layout engine written in Python. Software distributed under the BSD license is not dependent on full-scale browser engines such as WebKit or Gecko.

WE

Kozea · PDF & Document Processing

STARS9.7K
FORKS904
COMMITS—
CONTRIBUTORS181
VERSIONv69.0
UPDATEDyesterday
PDFPythonHtml-To-PdfCSSBSD / ISC

Common commercial products in this category: Adobe Acrobat, ABBYY FineReader, Foxit PDF Editor

What can it do?
  • You convert HTML pages into statistical reports, invoices, or tickets in the PDF format.
  • You add PDF export feature to applications running on Python 3.10 and above.
  • You use the CSS-based pagination engine to create print layouts that conform to web standards.
User reviews
  • ↑ PositiveGitHub Issue

    Tests should pass on Windows

    “I've open a branch dedicated for tests on Windows: [`travis-windows`]( Thanks to the amazing work of @Tontyna for #587, only 3 tests don't pass: - [Acid2]( - [Flex column wrap reverse]( - [Condensed fonts]( The third one is easy to understand: the fonts included in this Windows…”

  • • NeutralGitHub Issue

    WeasyPrint announcements

    “Hello! As you may have noticed, there was some activity on the repo. But no release. Some "the project is no longer maintained by Kozea". But who? So today is answer-day! Like it has sometimes been said, a new organization maintains this project: CourtBouillon. CourtBouillon is…”

My note

Alternative pages

More in: PDF & Document Processing