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.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbac19f2a7759afd73a07a3b497dcb3f9d45da194a3a2af19c5cefa991151216 |
|
MD5 | 71452cc663534c04bf2d20176d16412a |
|
BLAKE2b-256 | e2c2c1a320c5a1d871aa1707f48f1b19ab0fbefc4d415a0ac3406ce6c341fdcd |