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.

Source Distribution

emissionrpc-0.4.5.tar.gz (10.5 kB view hashes)

Uploaded Source

Built Distribution

emissionrpc-0.4.5-py2.py3-none-any.whl (11.7 kB view hashes)

Uploaded Python 2 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