Skip to main content

File downloader plugin for SimpleBot

Project description

https://www.herokucdn.com/deploy/button.svg

“Downloader” SimpleBot Plugin

https://img.shields.io/pypi/v/simplebot_downloader.svg https://img.shields.io/pypi/pyversions/simplebot_downloader.svg https://pepy.tech/badge/simplebot_downloader https://img.shields.io/pypi/l/simplebot_downloader.svg https://github.com/adbenitez/simplebot_downloader/actions/workflows/python-ci.yml/badge.svg https://img.shields.io/badge/code%20style-black-000000.svg

A SimpleBot plugin that allows to download files by email/DeltaChat.

Install

To install run:

pip install simplebot-downloader

Customization

By default the maximum file size allowed is 150MB, to change it, pass the number of bytes as follows:

simplebot -a bot@example.com db -s simplebot_downloader/max_size 10485760

By default the file will be sent in several emails split in chunks of 15728640 Bytes (15MB), to change it:

simplebot -a bot@example.com db -s simplebot_downloader/part_size 10240

By default there is a delay of 60 seconds between each sent chunk, to change it:

simplebot -a bot@example.com db -s simplebot_downloader/delay 120

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

simplebot_downloader-1.0.0.tar.gz (14.3 kB view hashes)

Uploaded Source

Built Distribution

simplebot_downloader-1.0.0-py3-none-any.whl (11.2 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