Skip to main content

Emission, Another Wrapper JSON-RPC to Transmission

Project description

https://img.shields.io/pypi/v/emissionrpc.svg?style=flat-square https://img.shields.io/pypi/pyversions/emissionrpc.svg?style=flat-square

EmissionRPC, a (Yet Another) Python wrapper JSON-RPC to Transmission BitTorrent client.

See the RPC interface .

Prerequisites

python 2.7 and 3.6

How to install

$ pip install emissionrpc

Usage

import emissionrpc

emitter = emissionrpc.Client()

# Get the torrent's list
emitter.list_torrent()

# Adding a torrent (the torrent is not started)
emitter.add_torrent('http://urltorrent.torrent')

# To start all the torrents
emitter.start()

# To start a specific torrent (pass the id to the client)
emitter.start(1)

# To delete a torrent (pass the id to the client)
emitter.delete(3)

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 emissionrpc, version 0.4.5
Filename, size File type Python version Upload date Hashes
Filename, size emissionrpc-0.4.5-py2.py3-none-any.whl (11.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size emissionrpc-0.4.5.tar.gz (10.5 kB) File type Source Python version None Upload date Hashes View

Supported by

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