https://store-images.s-microsoft.com/image/apps.21102.f0d9d645-88e6-4502-8f94-2401890c1370.3f63c477-764f-472e-8902-b70f92f85dec.8aeff62b-29be-49d2-9348-5ea33f87ed92

Weasyprint

bCloud LLC

Weasyprint

bCloud LLC

Version 66.0.0 + Free with Support on Ubuntu 22.04

WeasyPrint is an open-source Python library and command-line tool for converting HTML and CSS documents into high-quality PDF files. It uses modern web standards and rendering engines (Cairo, Pango, and CSS3) to produce precise, styled PDF outputs suitable for reports, invoices, and automated document generation.

Features of WeasyPrint:

  • Converts HTML and CSS into fully styled PDF documents with accurate layouts.
  • Supports advanced CSS features such as flexbox, grid, page breaks, and multi-column layouts.
  • Handles images, fonts, vector graphics, and complex page designs.
  • Works as both a command-line tool and a Python library for flexible integration.
  • Ideal for generating invoices, reports, and other automated documents from web content.
  • Open-source and actively maintained by the community.

To check the installed version of Weasyprint, run these commands in your environment:

$ sudo su
$ sudo apt update
$ cd /opt/weasyprint
$ source weasyprint-env/bin/activate
$ python -c "import weasyprint; print(f'WeasyPrint version: {weasyprint.__version__}')"

Disclaimer: WeasyPrint is released under the BSD License and maintained by the Kozea community. Users are responsible for ensuring correct usage in their specific applications. The developers do not take responsibility for any consequences arising from its use. Always refer to the official documentation for the most accurate and up-to-date information.