xhtml2pdf-3.6

A library for converting HTML into PDFs using ReportLab (Python 3 module)

Install

All systems
curl cmd.cat/xhtml2pdf-3.6.sh
Debian Debian
apt-get install python3-xhtml2pdf
Ubuntu
apt-get install python3-xhtml2pdf
image/svg+xml Kali Linux
apt-get install python3-xhtml2pdf
Fedora
dnf install python3-xhtml2pdf
Windows (WSL2)
sudo apt-get update sudo apt-get install python3-xhtml2pdf

python3-xhtml2pdf

A library for converting HTML into PDFs using ReportLab (Python 3 module)

xhtml2pdf is a html2pdf converter using the ReportLab Toolkit, the HTML5lib and pyPdf. It supports HTML 5 and CSS 2.1 (and some of CSS 3). It is completely written in pure Python so it is platform independent. The main benefit of this tool that a user with Web skills like HTML and CSS is able to generate PDF templates very quickly without learning new technologies. xhtml2pdf was previously developed as "pisa". This package installs the library for Python 3.