deltabot-web2pdf


Namedeltabot-web2pdf JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
SummaryDownload websites as PDF in Delta Chat
upload_time2024-06-18 16:31:00
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords deltachat bot web pdf
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Web to PDF

[![Latest Release](https://img.shields.io/pypi/v/deltabot-web2pdf.svg)](https://pypi.org/project/deltabot-web2pdf)
[![CI](https://github.com/deltachat-bot/web2pdf/actions/workflows/python-ci.yml/badge.svg)](https://github.com/deltachat-bot/web2pdf/actions/workflows/python-ci.yml)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

Delta Chat bot that allows to fetch websites as PDF. Just send any URL to the bot
in private or add it to get a PDF in any message containing an URL.

## Install

```sh
pip install deltabot-web2pdf
```

You also need to install wkhtmltopdf package. Debian/Ubuntu example:

```sh
sudo apt-get install wkhtmltopdf
```

**Warning!** Version in debian/ubuntu repos have reduced functionality (because it
is compiled without the wkhtmltopdf QT patches), such as adding outlines, headers,
footers, TOC etc. To use this options you should install static binary from
wkhtmltopdf site: https://wkhtmltopdf.org/

## Usage

Configure the bot's Delta Chat account:

```sh
web2pdf init bot@example.com PASSWORD
```

You can run `web2pdf init` several times to add multiple different accounts to the
bot so it can be reached in more than one email address.

The bot's display name, avatar and status/signature can also be tweaked:

```
web2pdf config selfavatar "/path/to/avatar.png"
web2pdf config displayname "My Bot"
web2pdf config selfstatus "Hi, I am a Delta Chat bot"
```

To run the bot so it starts processing messages:

```sh
web2pdf serve
```

To see all available options run `web2pdf --help`

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "deltabot-web2pdf",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "deltachat, bot, web, pdf",
    "author": null,
    "author_email": "adbenitez <adb@merlinux.eu>",
    "download_url": "https://files.pythonhosted.org/packages/88/b5/0f81f5028d9cd0bead97be330e6eeeafd661c77c7dcc11dba413f319cac4/deltabot_web2pdf-0.2.0.tar.gz",
    "platform": null,
    "description": "# Web to PDF\n\n[![Latest Release](https://img.shields.io/pypi/v/deltabot-web2pdf.svg)](https://pypi.org/project/deltabot-web2pdf)\n[![CI](https://github.com/deltachat-bot/web2pdf/actions/workflows/python-ci.yml/badge.svg)](https://github.com/deltachat-bot/web2pdf/actions/workflows/python-ci.yml)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\nDelta Chat bot that allows to fetch websites as PDF. Just send any URL to the bot\nin private or add it to get a PDF in any message containing an URL.\n\n## Install\n\n```sh\npip install deltabot-web2pdf\n```\n\nYou also need to install wkhtmltopdf package. Debian/Ubuntu example:\n\n```sh\nsudo apt-get install wkhtmltopdf\n```\n\n**Warning!** Version in debian/ubuntu repos have reduced functionality (because it\nis compiled without the wkhtmltopdf QT patches), such as adding outlines, headers,\nfooters, TOC etc. To use this options you should install static binary from\nwkhtmltopdf site: https://wkhtmltopdf.org/\n\n## Usage\n\nConfigure the bot's Delta Chat account:\n\n```sh\nweb2pdf init bot@example.com PASSWORD\n```\n\nYou can run `web2pdf init` several times to add multiple different accounts to the\nbot so it can be reached in more than one email address.\n\nThe bot's display name, avatar and status/signature can also be tweaked:\n\n```\nweb2pdf config selfavatar \"/path/to/avatar.png\"\nweb2pdf config displayname \"My Bot\"\nweb2pdf config selfstatus \"Hi, I am a Delta Chat bot\"\n```\n\nTo run the bot so it starts processing messages:\n\n```sh\nweb2pdf serve\n```\n\nTo see all available options run `web2pdf --help`\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Download websites as PDF in Delta Chat",
    "version": "0.2.0",
    "project_urls": {
        "Homepage": "https://github.com/deltachat-bot/web2pdf"
    },
    "split_keywords": [
        "deltachat",
        " bot",
        " web",
        " pdf"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2f84614397834132ae0bb3f34672cab293ddd4fa71afd1e0aac0d8dbeb3e46f3",
                "md5": "3ed7f6aa028a9ff89b2c63f5133418d0",
                "sha256": "15e3ebe4da1f0cbc7770459a7a77377138053a32fe4ff8b65a6c44c12dcc59d9"
            },
            "downloads": -1,
            "filename": "deltabot_web2pdf-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3ed7f6aa028a9ff89b2c63f5133418d0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 17274,
            "upload_time": "2024-06-18T16:30:58",
            "upload_time_iso_8601": "2024-06-18T16:30:58.544401Z",
            "url": "https://files.pythonhosted.org/packages/2f/84/614397834132ae0bb3f34672cab293ddd4fa71afd1e0aac0d8dbeb3e46f3/deltabot_web2pdf-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "88b50f81f5028d9cd0bead97be330e6eeeafd661c77c7dcc11dba413f319cac4",
                "md5": "11be7c5ef2d1bc6bea56179e824e498e",
                "sha256": "998703231736a68a40768c88fd3bee22380c9fc396863d47713c351edd82449b"
            },
            "downloads": -1,
            "filename": "deltabot_web2pdf-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "11be7c5ef2d1bc6bea56179e824e498e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 17353,
            "upload_time": "2024-06-18T16:31:00",
            "upload_time_iso_8601": "2024-06-18T16:31:00.094560Z",
            "url": "https://files.pythonhosted.org/packages/88/b5/0f81f5028d9cd0bead97be330e6eeeafd661c77c7dcc11dba413f319cac4/deltabot_web2pdf-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-18 16:31:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "deltachat-bot",
    "github_project": "web2pdf",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "deltabot-web2pdf"
}
        
Elapsed time: 0.85582s