xhtml2pdf 0.2.11


PDF generator using HTML and CSS

PDF generator using HTML and CSS

Stars: 2055, Watchers: 2055, Forks: 617, Open Issues: 125

The xhtml2pdf/xhtml2pdf repo was created 12 years ago and the last code push was 2 weeks ago.
The project is very popular with an impressive 2055 github stars!

How to Install xhtml2pdf

You can install xhtml2pdf using pip

pip install xhtml2pdf

or add it to a project with poetry

poetry add xhtml2pdf

Package Details

Dirk Holtwick
Apache License 2.0
GitHub Repo:


  • Documentation
  • Multimedia
  • Office/Business
  • Printing
  • Text Processing
  • Text Processing/Filters
  • Text Processing/Fonts
  • Text Processing/General
  • Text Processing/Indexing
  • Text Processing/Markup
  • Text Processing/Markup/HTML
  • Text Processing/Markup/XML
  • Utilities
No  xhtml2pdf  pypi packages just yet.


A list of common xhtml2pdf errors.

Code Examples

Here are some xhtml2pdf code examples and snippets.

GitHub Issues

The xhtml2pdf package has 125 open issues on GitHub

  • Currency code
  • Reportlab 4 compatibility
  • Add support for CSS text-overflow
  • getSize: Not a float '100%'

See more issues on GitHub

Related Packages & Articles

ocrmypdf 14.3.0

OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched

pdfrw 0.4

pdfrw is a Python library and utility that reads and writes PDF files.

pdfplumber 0.10.2

Plumb a PDF for detailed information about each char, rectangle, and line.