You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Ugo Finnendahl 8fa0aa37e2 added console script 5 years ago
html_to_pdf added console script 5 years ago
.gitignore Initial commit 5 years ago
LICENSE Initial commit 5 years ago
MANIFEST.in new version new repo 5 years ago
README.md added console script 5 years ago
setup.py added console script 5 years ago

README.md

html_to_pdf

Install

pip install git+https://git.finnendahl.de/Yugon/html_to_pdf.git

API

In python :

import html_to_pdf as h2p

h2p.render_from_url("http://example.com", "out.pdf")
h2p.render_from_file("local_file.html", "out2.pdf")
h2p.render_from_string("<h1>Works</h1>", "out3.pdf")

As console script

html_to_pdf <input> -o <output>