How to Generate PDFs with Python, PDFKit and CraftMyPDF
![](https://craftmypdf.com/wp-content/uploads/2021/09/python-logo.png)
In this article, we are going to use a python library PDFKit to generate PDFs from HTML. In addition, we also make use of CraftMyPDF’s PDF generation API to create PDF documents from a drag-and-drop template.