xhtml2pdf
A library for converting HTML into PDFs using ReportLab (Python 2 module)
Install
- All systems
-
curl cmd.cat/xhtml2pdf.sh
- Debian
-
apt-get install python-xhtml2pdf
- Ubuntu
-
apt-get install python-xhtml2pdf
- Kali Linux
-
apt-get install python-xhtml2pdf
- Fedora
-
dnf install python-xhtml2pdf
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install python-xhtml2pdf
- Raspbian
-
apt-get install python-xhtml2pdf
- Dockerfile
- dockerfile.run/xhtml2pdf
python-xhtml2pdf
A library for converting HTML into PDFs using ReportLab (Python 2 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 2.
python-pisa
PDF generator using HTML and CSS (Python module)
pisa is an html2pdf converter using the ReportLab Toolkit, 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. Easy integration into Python frameworks like CherryPy, KID Templating, TurboGears, Django, Zope, Plone, Google AppEngine (GAE) etc.
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.