Skip to main content

The tool to work with torrent files.

Project description


The tool to work with torrent files.

Works on Python 2.7+ and 3.3+.


  • Torrent utils (file read and modification)
  • Bencoding utils (decoder, encoder)
from torrentool.api import Torrent

my_torrent = Torrent.from_file('/home/idle/some.torrent')

my_torrent.announce_urls  # Torrent trackers announce URLs.
my_torrent.total_size  # Total files size in bytes.
my_torrent.magnet_link  # Magnet link for you.

# Etc.

my_torrent.comment = 'Your torrents are mine.'  # Set a comment.

my_torrent.to_file()  # Save changes to file

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for torrentool, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size torrentool-0.1.0.tar.gz (8.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page