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

Uploaded Source

Built Distribution

simplebot_downloader-1.0.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file simplebot_downloader-1.0.0.tar.gz.

File metadata

  • Download URL: simplebot_downloader-1.0.0.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for simplebot_downloader-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4235956c5dc5d032375ba7674bc5912e91ffb205aa6fa88514b2370ecdf3b65d
MD5 2b7b186d7243d0484500fa7c90f1a5d3
BLAKE2b-256 c6c09885516e4ffb28ea51b7580b06bc4f34a7bbfae573dcfe4ebbb69814f781

See more details on using hashes here.

Provenance

File details

Details for the file simplebot_downloader-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for simplebot_downloader-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad6cb08a93994fdee241175d546ff1ac4e6c65067a3fd8e403fb45ec882efc7f
MD5 77baf49da466ad34a09ab7db4c7cef04
BLAKE2b-256 d49669d6830a2136047622610706268b6f951bca011f42fb9ab7c97bb1137535

See more details on using hashes here.

Provenance

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