Fetch and convert HTML to PDF for eBooks published with Bookdown
Project description
html2pdf_bookdown
Fetch and convert HTML to PDF for eBooks published with Bookdown
Usage
html2pdf_bookdown [-h] [-u URL] [-n BOOK_NAME]
E.g.
html2pdf_bookdown -u https://christophm.github.io/interpretable-ml-book -n Interpretable-Machine-Learning-by-Christoph-Molnar
will generate a combined PDF named Interpretable-Machine-Learning-by-Christoph-Molnar.pdf
and a directory containing
several PDFs, one for each chapter.
Installation
-
Make sure Google Chrome has been installed and the corresponding ChromeDriver (needed by Selenium, can be downloaded from this website) is in your PATH.
-
Then using
pip
pip install html2pdf_bookdown
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for html2pdf_bookdown-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96a7acca1b89901de1259ba2c92f515676185cb8ecab0bc78ded5cd41a2167a9 |
|
MD5 | 601792a3985de14205ee9d4e65054fe2 |
|
BLAKE2b-256 | 11fc33f768fb0a998caf1ff6a346f34c7e92a6473b379f5ddbea56742c7e76c6 |