Page 1 of 1

Python module for Transmission RPC

Posted: Sun May 24, 2009 1:28 am
by blueluna
I have released a new version of my Python module for Transmission RPC communication. If you are going to use Python to control Transmission, have a look!

Project page: http://bitbucket.org/blueluna/transmissionrpc

A sample assuming Transmission allows RPC but with authentication.

Code: Select all

import transmissionrpc

client = transmissionrpc.Client('127.0.0.1', port=9091, user='admin', password='admin')
torrents = client.info()
for tid, torrent in torrents.iteritems():
    print('%s: %s %s %.2f%% %s' % (torrent.hashString, torrent.name, torrent.status, torrent.progress, torrent.eta))
    client.change(tid, downloadLimit=20, downloadLimited=True)
 
Best regards,
Blueluna

Re: Python module for Transmission RPC

Posted: Mon Oct 19, 2009 11:01 am
by lkraav
nice (y) thanks for the work