weasyprint 66.0


pip install weasyprint

  Latest version

Released: Jul 24, 2025


Meta
Author: Simon Sapin
Maintainer: CourtBouillon
Requires Python: >=3.9

Classifiers

Development Status
  • 5 - Production/Stable

Intended Audience
  • Developers

License
  • OSI Approved :: BSD License

Operating System
  • OS Independent

Programming Language
  • Python
  • Python :: 3
  • Python :: 3 :: Only
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: Implementation :: CPython
  • Python :: Implementation :: PyPy

Topic
  • Internet :: WWW/HTTP
  • Text Processing :: Markup :: HTML
  • Multimedia :: Graphics :: Graphics Conversion
  • Printing

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.

WeasyPrint has been created and developed by Kozea (https://kozea.fr/). Professional support, maintenance and community management is provided by CourtBouillon (https://www.courtbouillon.org/).

Copyrights are retained by their contributors, no copyright assignment is required to contribute to WeasyPrint. Unless explicitly stated otherwise, any contribution intentionally submitted for inclusion is licensed under the BSD 3-clause license, without any additional terms or conditions. For full authorship information, see the version control history.

66.0 Jul 24, 2025
65.1 Apr 14, 2025
65.0 Mar 20, 2025
64.1 Feb 20, 2025
64.0 Jan 30, 2025
63.1 Dec 10, 2024
63.0 Oct 29, 2024
62.3 Jun 21, 2024
62.2 Jun 04, 2024
62.1 May 06, 2024
62.0 Apr 30, 2024
61.2 Mar 08, 2024
61.1 Feb 26, 2024
61.0 Feb 12, 2024
60.2 Dec 11, 2023
60.1 Sep 29, 2023
60.0 Sep 25, 2023
59.0 May 11, 2023
59.0b1 Apr 14, 2023
58.1 Mar 07, 2023
58.0 Feb 17, 2023
58.0b1 Feb 03, 2023
57.2 Dec 23, 2022
57.1 Nov 04, 2022
57.0 Oct 18, 2022
57.0b1 Sep 22, 2022
56.1 Jul 24, 2022
56.0 Jul 07, 2022
56.0b1 Jun 17, 2022
55.0 May 12, 2022
55.0b1 Apr 15, 2022
54.3 Apr 04, 2022
54.2 Feb 27, 2022
54.1 Jan 31, 2022
54.0 Jan 08, 2022
54.0b1 Dec 13, 2021
53.4 Nov 14, 2021
53.3 Sep 10, 2021
53.2 Aug 27, 2021
53.1 Aug 22, 2021
53.0 Jul 31, 2021
53.0b2 May 30, 2021
53.0b1 Apr 22, 2021
52.5 Apr 17, 2021
52.4 Mar 11, 2021
52.3 Mar 02, 2021
52.2 Dec 06, 2020
52.1 Nov 02, 2020
52 Oct 29, 2020
51 Dec 23, 2019
50 Sep 19, 2019
49 Sep 11, 2019
48 Jul 08, 2019
47 Apr 12, 2019
46 Mar 20, 2019
45 Feb 20, 2019
44 Dec 29, 2018
43 Nov 09, 2018
43rc2 Nov 02, 2018
43rc1 Oct 15, 2018
0.42.3 Mar 27, 2018
0.42.2 Feb 04, 2018
0.42.1 Feb 01, 2018
0.42 Dec 26, 2017
0.41 Oct 05, 2017
0.40 Aug 17, 2017
0.39 Jun 24, 2017
0.38 Jun 16, 2017
0.37 Jun 15, 2017
0.36 Feb 25, 2017
0.35 Feb 25, 2017
0.34 Dec 21, 2016
0.33 Nov 28, 2016
0.32 Nov 17, 2016
0.31 Aug 28, 2016
0.30 Jul 18, 2016
0.29 Jun 17, 2016
0.28 May 16, 2016
0.27 Apr 08, 2016
0.26 Jan 29, 2016
0.25 Dec 17, 2015
0.24 Aug 04, 2015
0.23 Sep 16, 2014
0.22 May 05, 2014
0.21 Jan 11, 2014
0.20.2 Dec 18, 2013
0.20.1 Dec 16, 2013
0.20 Dec 14, 2013
0.19.2 Jun 18, 2013
0.19.1 Apr 30, 2013
0.19 Apr 18, 2013
0.18 Mar 30, 2013
0.17.1 Mar 18, 2013
0.17 Feb 27, 2013
0.16 Dec 13, 2012
0.15 Oct 09, 2012
0.14 Aug 03, 2012
0.13 Jul 23, 2012
0.12 Jul 19, 2012
0.11 Jul 04, 2012
0.10 Jun 25, 2012
0.9 Jun 04, 2012
0.8 May 07, 2012
0.7.1 Mar 21, 2012
0.7 Mar 21, 2012
0.6.1 Mar 01, 2012
0.6 Feb 29, 2012
0.5 Feb 08, 2012
0.4 Feb 07, 2012
0.3.1 Dec 14, 2011
0.3 Dec 13, 2011
0.2.2 Nov 29, 2011
0.2.1 Nov 25, 2011
0.2 Nov 25, 2011
0.1 Oct 28, 2011

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras:
Dependencies:
pydyf (>=0.11.0)
cffi (>=0.6)
tinyhtml5 (>=2.0.0b1)
tinycss2 (>=1.4.0)
cssselect2 (>=0.8.0)
Pyphen (>=0.9.1)
Pillow (>=9.1.0)
fonttools[woff] (>=4.0.0)