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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file emissionrpc-0.4.5.tar.gz.

File metadata

  • Download URL: emissionrpc-0.4.5.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for emissionrpc-0.4.5.tar.gz
Algorithm Hash digest
SHA256 2d2ad1f83bdf779443d336eb7c747f4bdaada4afa401224af78b99a381e1a09e
MD5 915952ec4245f483e086de5fff48b1ac
BLAKE2b-256 0e4521782ce2e3cbd16c0f1920c1758e71649a4b8084105f0f512b4c4b8799f1

See more details on using hashes here.

File details

Details for the file emissionrpc-0.4.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for emissionrpc-0.4.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5116ea2940573b976c3d7c5974c89c0264992c22764ed65a320e343e293d6d6d
MD5 b2b2f08cb9bcf7c5d8feb3e526131fe8
BLAKE2b-256 e9b499714d9b42827be9fe4ce1187f2a23e61cc3aa4fc94d188e5d36d0a2edec

See more details on using hashes here.

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