fpdf2 is a library for simple PDF generation in Python. It is a fork of the library PyFPDF (which has package name fpdf on PyPI).