skillfed

weasyprint

The Awesome Document Factory

weasyprint Permissive license Active 9,490 v69.0 released

Install

weasyprint on PyPI

pip

pip install weasyprint

uv

uv add weasyprint

poetry

poetry add weasyprint

Package facts

License not declared (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 8 — pydyf, cffi, tinyhtml5, tinycss2, cssselect2, Pyphen, Pillow, fonttools
Maintenance actively maintained — 72 days since the last release
Last repo commit
First released
Popularity one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13)
Known vulnerabilities none known (OSV.dev, checked 2026-08-13)

Evidence: weasyprint-69.0-py3-none-any.whl

Keywords: html, css, pdf, converter

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Internet :: WWW/HTTPTopic :: Multimedia :: Graphics :: Graphics ConversionTopic :: PrintingTopic :: Text Processing :: Markup :: HTML

About weasyprint

from the package's own PyPI description — quoted content, verbatim

The Awesome Document Factory

WeasyPrint is a smart solution helping web developers to create PDF documents. It turns simple HTML pages into gorgeous statistical reports, invoices, tickets…

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 available under a BSD license.

It is based on various libraries but not on a full rendering engine like WebKit or Gecko. The CSS layout engine is written in Python, designed for pagination, and meant to be easy to hack on.

  • Free software: BSD license
  • For Python 3.10+, tested on CPython and PyPy
  • Documentation: https://doc.courtbouillon.org/weasyprint
  • Examples: https://weasyprint.org/#samples
  • Changelog: https://github.com/Kozea/WeasyPrint/releases
  • Code, issues, tests: https://github.com/Kozea/WeasyPrint
  • Code of conduct: https://www.courtbouillon.org/code-of-conduct
  • Professional support: https://www.courtbouillon.org
  • Donation: https://opencollective.com/courtbouillon

WeasyPrint has been created and developed by Kozea (https://kozea.fr/). Professional support, maintenance and...

Read as markdown · JSON record · Source repository · Homepage · Docs

Similar packages