Skip to main content

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

  1. Make sure Google Chrome has been installed and the corresponding ChromeDriver (needed by Selenium, can be downloaded from this website) is in your PATH.

  2. Then using pip

pip install html2pdf_bookdown

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

html2pdf_bookdown-0.1.1.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

html2pdf_bookdown-0.1.1-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page