WeasyPrint converts web documents (HTML with CSS, SVG, …) to PDF.
Python CSS HTML
Latest commit 1688667 Jan 16, 2017 @liZe liZe committed on GitHub Merge pull request #411 from kylegibson/patch-1
Fixed typos in __main__.py

README.rst

WeasyPrint

License Latest Version Build status

WeasyPrint is a visual rendering engine for HTML and CSS that can export to PDF. It aims to support web standards for printing. WeasyPrint is free software made available under a BSD license.

It is based on various libraries but not on a full rendering engine like WebKit or Gecko. The CSS layout engine is written in Python, designed for pagination, and meant to be easy to hack on.