# 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](https://sites.google.com/a/chromium.org/chromedriver/downloads)) is in your *PATH*.
2. Then using `pip`
```
pip install html2pdf_bookdown
```
Raw data
{
"_id": null,
"home_page": "https://github.com/caizefeng/html2pdf_bookdown",
"name": "html2pdf-bookdown",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "html pdf conversion bookdown",
"author": "Zavier Cai",
"author_email": "caizefeng18@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/9d/17/62c8573d69dfd8193394bfa40e1f3fc4fa4a7cbf64379340333716c26593/html2pdf_bookdown-0.1.1.tar.gz",
"platform": null,
"description": "# html2pdf_bookdown\nFetch and convert HTML to PDF for eBooks published with **Bookdown**\n\n## Usage\n```\nhtml2pdf_bookdown [-h] [-u URL] [-n BOOK_NAME]\n```\nE.g. \n```\nhtml2pdf_bookdown -u https://christophm.github.io/interpretable-ml-book -n Interpretable-Machine-Learning-by-Christoph-Molnar\n```\nwill generate a combined PDF named `Interpretable-Machine-Learning-by-Christoph-Molnar.pdf` and a directory containing\nseveral PDFs, one for each chapter.\n\n## Installation\n1. Make sure **Google Chrome** has been installed and the corresponding **ChromeDriver** (needed by **Selenium**, can be downloaded \nfrom [this website](https://sites.google.com/a/chromium.org/chromedriver/downloads)) is in your *PATH*.\n\n2. Then using `pip`\n```\npip install html2pdf_bookdown\n```\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Fetch and convert HTML to PDF for eBooks published with Bookdown",
"version": "0.1.1",
"project_urls": {
"Homepage": "https://github.com/caizefeng/html2pdf_bookdown"
},
"split_keywords": [
"html",
"pdf",
"conversion",
"bookdown"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9406919b0952dd79d2bb07ddd90386d1e4c93f360f8414163f7292da9f61e578",
"md5": "f27d5756c5689474f687cdb900e84761",
"sha256": "e609335854c55b4f073559d6c0c0aa60a5711585e739d6305f89e9b52cd0fd8f"
},
"downloads": -1,
"filename": "html2pdf_bookdown-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f27d5756c5689474f687cdb900e84761",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 5650,
"upload_time": "2023-09-08T16:54:51",
"upload_time_iso_8601": "2023-09-08T16:54:51.991956Z",
"url": "https://files.pythonhosted.org/packages/94/06/919b0952dd79d2bb07ddd90386d1e4c93f360f8414163f7292da9f61e578/html2pdf_bookdown-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9d1762c8573d69dfd8193394bfa40e1f3fc4fa4a7cbf64379340333716c26593",
"md5": "174c0c05480fcc2f9a1268570d17d4ff",
"sha256": "a683e6123603b955d00afdc7cfc3492080691a62985390c1165e4c5b71bc8d66"
},
"downloads": -1,
"filename": "html2pdf_bookdown-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "174c0c05480fcc2f9a1268570d17d4ff",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 4457,
"upload_time": "2023-09-08T16:54:54",
"upload_time_iso_8601": "2023-09-08T16:54:54.091461Z",
"url": "https://files.pythonhosted.org/packages/9d/17/62c8573d69dfd8193394bfa40e1f3fc4fa4a7cbf64379340333716c26593/html2pdf_bookdown-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-08 16:54:54",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "caizefeng",
"github_project": "html2pdf_bookdown",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "setuptools",
"specs": []
},
{
"name": "requests",
"specs": []
},
{
"name": "beautifulsoup4",
"specs": []
},
{
"name": "PyPDF2",
"specs": []
},
{
"name": "selenium",
"specs": []
},
{
"name": "tqdm",
"specs": []
}
],
"lcname": "html2pdf-bookdown"
}