Skip to main content

An RPC client library for the Transmission BitTorrent client

Project description

Documentation Status https://img.shields.io/pypi/v/transmission-clutch.svg?style=flat-square https://img.shields.io/pypi/pyversions/transmission-clutch.svg?style=flat-square https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square https://img.shields.io/badge/code%20style-black-000000.svg

Quick start

Install the package:

$ pip install transmission-clutch

Make a client:

from clutch.client 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(...)

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

transmission-clutch-3.0.0.dev5.tar.gz (14.6 kB view hashes)

Uploaded Source

Built Distribution

transmission_clutch-3.0.0.dev5-py3-none-any.whl (26.5 kB view hashes)

Uploaded Python 3

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