xhtml2pdf

Package — ReportingPython 3.7+Intermediate

Convert HTML/CSS to PDF (formerly pisa)

Quick Info

Documentation
Official Docs
Python Version
3.7+
Dependencies
html5lib, Pillow, pypdf, reportlab
Install
pip install xhtml2pdf

Learn by Difficulty

Quick Example

python
# Install: pip install xhtml2pdf
import xhtml2pdf

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

xhtml2pdf is a third-party package. Convert HTML/CSS to PDF (formerly pisa). Install with: pip install xhtml2pdf

Try in Playground

Tags

packagereportingpdfdocuments