jinja2 + weasyprint

Package — ReportingPython 3.7+Intermediate

Template HTML reports then render to PDF

Quick Info

Documentation
Official Docs
Python Version
3.7+
Dependencies
Jinja2, WeasyPrint (see individual entries)
Install
pip install jinja2 weasyprint

Learn by Difficulty

Quick Example

python
# Install: pip install jinja2 weasyprint
import jinja2 + weasyprint

# Basic jinja2 + weasyprint usage
print(f"Using jinja2 + weasyprint")
# See documentation for detailed examples

jinja2 + weasyprint is a third-party package. Template HTML reports then render to PDF. Install with: pip install jinja2 weasyprint

Try in Playground

Tags

packagereportingpdfdocuments