Skip to content

ExeArco/clutch

 
 

Repository files navigation

Clutch

Documentation badge PyPI badge PyPI versions badge Black formatter badge License badge PyPI downloads badge

Support

btc: bc1q9spjh7nuqatz4pa7dscd0357p3ql588tla6af7

Documentation

Found here: https://clutch.readthedocs.io

Quick start

Install the package:

$ pip install transmission-clutch

Make a client:

from clutch import Client
client = Client()

If you find the client isn't connecting (an error will be raised), make sure you're entering the address correctly. Reference urllib.parse.urlparse for parsing rules.

You can specify Transmission's address when making the client:

client = Client(address="http://localhost:9091/transmission/rpc")

RPC methods are separated into groups: torrent, session, queue and misc.

Methods are called by first specifying a group:

client.torrent.add(...)

About

Transmission RPC for Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.7%
  • Shell 1.3%