Simple Deluge Client
Project description
[![Build Status](https://travis-ci.org/JohnDoee/deluge-client.png)](https://travis-ci.org/JohnDoee/deluge-client)
A lightweight pure-python rpc client for deluge. Note, does not support events and any additional replies from deluge will mess up the datastream.
Requirements
Deluge 1.3.x, 2.0 beta
Python 2.6, 2.7, 3.3, 3.4, 3.5
Install
From GitHub (develop):
pip install git+https://github.com/JohnDoee/deluge-client.git#develop
From PyPi (stable):
pip install deluge-client
Usage
>>> from deluge_client import DelugeRPCClient >>> client = DelugeRPCClient('127.0.0.1', 12345, 'username', 'password') >>> client.connect() >>> client.connected True >>> client.call('core.get_torrents_status', {}, ['name']) {'79816060ea56d56f2a2148cd45705511079f9bca': {'name': 'TPB.AFK.2013.720p.h264-SimonKlose'}}
License
MIT, see LICENSE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
deluge-client-1.3.0.tar.gz
(7.7 kB
view hashes)
Built Distribution
Close
Hashes for deluge_client-1.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6119f7ff96626492eab54edb58a71060eab5e6f9866a57553cda6d28108fd280 |
|
MD5 | 9c71be6e44f419f932c577b2b490dd4b |
|
BLAKE2b-256 | 783d62a19439b54810f31cd161971a42b55ffeba537be39ede99da580e35990d |