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.
17 lines
311 B
17 lines
311 B
# html_to_pdf
|
|
|
|
## Install
|
|
|
|
```bash
|
|
pip install git+https://git.finnendahl.de/Yugon/html_to_pdf.git
|
|
```
|
|
|
|
## API
|
|
|
|
```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")
|
|
```
|
|
|