Skip to main content

Torrent downloading progress on Telegram

Project description

TDPT

Torrent downloading progress on Telegram

Screencast

Features

  • Support for two most popular torrent clients Transmission, rTorrent and deluge
  • Multithreading, each downloading item is handled separately
  • Running post download script in separate process
  • Self-adjustment of Telegram bot limits based on number of torrents tracked
  • Easy configuration
  • Uploading new torrent - just send torrent file to chat

Installation

You need Python 3 to run this program.

$ pip install --user tdpt

Create configuration file

$ cp tdpt.ini.template tdpt.ini

Edit it and save.

FAQ

Transmission already supports running script upon finishing download

Yes, that is true. However the script that transmission will run will be executed in the same thread. That means any long running process would freeze it for that amount of time which is highly undesirable.

tdpt picks up new items so slow

Currently it fetches new items every 20 seconds, because this operation can be quite expensive. I might add option to specify this interval based on your preferences.

I am downloading 20 items and tdpt updates them very rarely

Telegram puts limit of how often bot can make request to one channel. Currently the limit is 20 updates per minute. tdpt makes time adjustment based on number of torrents that it tracks to avoid hitting limits.

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

tdpt-1.3.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

tdpt-1.3-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file tdpt-1.3.tar.gz.

File metadata

  • Download URL: tdpt-1.3.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.1

File hashes

Hashes for tdpt-1.3.tar.gz
Algorithm Hash digest
SHA256 2573eec987fc52d32fa34ba2ee08c663b0e490a34d1694f1e1824deb72d59887
MD5 2fc7e4bd8dafbceae21da4b290983d93
BLAKE2b-256 1ac43fbd49a9090a3d2acc6c818f89b37bc4e909dc6ab1964abe7bc20a29b6bd

See more details on using hashes here.

File details

Details for the file tdpt-1.3-py3-none-any.whl.

File metadata

  • Download URL: tdpt-1.3-py3-none-any.whl
  • Upload date:
  • Size: 20.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.1

File hashes

Hashes for tdpt-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f1fb7830f371710fbde5e6bce6d41553c8422e64a2fb7a787e28ed5acc8590bd
MD5 a96a9e114ee9cb628efa8dfeca466d0a
BLAKE2b-256 fbe096a536882e56485b61a4d53498f032357a4758fa24f46f120579651bf8a9

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