Python HTML/CSS to PDF converter

XHTML2PDF is a converter for HTML/XHTML and CSS to PDF and a Python package.

Features 

  • Translates HTML and CSS input into PDF files
  • Is written pure Python and therefore platform independent
  • Supports document specifics like columns, headers, footers, page numbers, custom Postscript and TrueType fonts, etc.
  • Best support for frameworks like Django, Turbogears, CherryPy, Pylons, WSGI
  • Simple integration into Python programms
  • Also available as stand alone command line tool for Windows, MacOS X and Linux

Best practice

Photo by Adam Hyde from the FLOSS blogFLOSS Manuals uses XHTML2PDF to create manuals for free and open source software. A very nice example of their work is the manual for the One Laptop Per Child (OLPC) project.

 

 

 

 

 

 

 

Download
XHTML2PDF/Pisa 3.0

(Download from PyPI)

Mailing List

Join our mailing list to get in contact with the community and get support.