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.

Filename, size & hash SHA256 hash help File type Python version Upload date
emissionrpc-0.4.5-py2.py3-none-any.whl (11.7 kB) Copy SHA256 hash SHA256 Wheel py2.py3
emissionrpc-0.4.5.tar.gz (10.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page