Install python3-pdfkit by entering the following commands in the terminal:
sudo apt update sudo apt install python3-pdfkit
Description:
Python wrapper for wkhtmltopdf to convert HTML to PDF (Python 3)
Python wrapper for wkhtmltopdf utility to convert HTML to PDF using Webkit. . Wkhtmltopdf conversion and all wkhtmltopdf options are available in Python from this module . This is the Python 3 version of the package.
Homepage: https://github.com/JazzCore/python-pdfkit
Version: 0.5.0-1
Section: universe/python