Emission, Another Wrapper JSON-RPC to Transmission
Project description
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.1.tar.gz
(10.7 kB
view hashes)
Built Distribution
Close
Hashes for emissionrpc-0.4.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f228a62277d59838f36d2658d2b39606f5e6e420374db5a6923b0428950d026 |
|
MD5 | 90a066420c8cfd7815ed17765b0ffefe |
|
BLAKE2b-256 | 67f2ede079aad7b02a28e8ff6c971002c2448ce1e03db56980067c532a5e74d2 |