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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for html2pdf_bookdown-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a683e6123603b955d00afdc7cfc3492080691a62985390c1165e4c5b71bc8d66
MD5 174c0c05480fcc2f9a1268570d17d4ff
BLAKE2b-256 9d1762c8573d69dfd8193394bfa40e1f3fc4fa4a7cbf64379340333716c26593

See more details on using hashes here.

File details

Details for the file html2pdf_bookdown-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for html2pdf_bookdown-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e609335854c55b4f073559d6c0c0aa60a5711585e739d6305f89e9b52cd0fd8f
MD5 f27d5756c5689474f687cdb900e84761
BLAKE2b-256 9406919b0952dd79d2bb07ddd90386d1e4c93f360f8414163f7292da9f61e578

See more details on using hashes here.

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