Example script for customize and convert an HTML/CSS page to a PDF using wkhtmltopdf and python-pdfkit
This script has been tested in Python 2.7 and Python 3.5
Here is a screenshot of PDF file generated by this script with client data inserted at runtime.