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
|
5 years ago | |
---|---|---|
html_to_pdf | 5 years ago | |
.gitignore | 5 years ago | |
LICENSE | 5 years ago | |
MANIFEST.in | 5 years ago | |
README.md | 5 years ago | |
setup.py | 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>