How to Install python-xhtml2pdf in Ubuntu 18.04



Install python-xhtml2pdf by entering the following commands in the terminal:

sudo apt update
sudo apt install python-xhtml2pdf

Description:

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.

Homepage: https://github.com/xhtml2pdf/xhtml2pdf

Version: 0.2.1-1

Section: universe/python