The tool to work with torrent files.
Project description
https://github.com/idlesign/torrentool
Description
The tool to work with torrent files.
Works on Python 2.7+ and 3.3+.
Includes:
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
torrentool-0.1.0.tar.gz
(8.5 kB
view hashes)