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
File details
Details for the file html2pdf_bookdown-0.1.1.tar.gz
.
File metadata
- Download URL: html2pdf_bookdown-0.1.1.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a683e6123603b955d00afdc7cfc3492080691a62985390c1165e4c5b71bc8d66 |
|
MD5 | 174c0c05480fcc2f9a1268570d17d4ff |
|
BLAKE2b-256 | 9d1762c8573d69dfd8193394bfa40e1f3fc4fa4a7cbf64379340333716c26593 |
File details
Details for the file html2pdf_bookdown-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: html2pdf_bookdown-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e609335854c55b4f073559d6c0c0aa60a5711585e739d6305f89e9b52cd0fd8f |
|
MD5 | f27d5756c5689474f687cdb900e84761 |
|
BLAKE2b-256 | 9406919b0952dd79d2bb07ddd90386d1e4c93f360f8414163f7292da9f61e578 |