fpdf2

Package — DocumentsPython 3.7+Intermediate

Simple PDF generation library (no dependencies)

Quick Info

Documentation
Official Docs
Python Version
3.7+
Dependencies
Pillow, defusedxml, fonttools
Install
pip install fpdf2

Learn by Difficulty

Quick Example

python
# Install: pip install fpdf2
import fpdf2

# Basic fpdf2 usage
print(f"Using fpdf2")
# See documentation for detailed examples

fpdf2 is a third-party package. Simple PDF generation library (no dependencies). Install with: pip install fpdf2

Try in Playground

Tags

packagedocumentsfile-formatoffice