Registry / http-networking / deluge-client

deluge-client

JSON →
library1.10.2pypypi✓ verified 85d ago

Simple Deluge RPC client for managing a Deluge BitTorrent client. Current version 1.10.2, stable with occasional patches.

pip install deluge-client
INSTALL
IMPORT
SIG · DELUGE-CLIENT
D
deluge-client
http-networkingpythonv1.10.2
Install
1.6s avg
Import
—
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v1.10.2 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.9MB
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 1.6s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DelugeRPCClient
✓ from deluge_client import DelugeRPCClient
✗ from deluge_client import DelugeRpcClient

Connect to a Deluge daemon and list torrents with name and progress.

from deluge_client import DelugeRpcClient client = DelugeRpcClient('localhost', 58846, 'username', 'password') client.connect() torrents = client.get_torrents_status({}, ['name', 'progress']) print(torrents)
Debug
Known issues
breakingv1.5+ dropped Python 2 support. Python 3.6+ required.
fix
Use Python 3.6 or newer. Pin to <1.5 if Python 2 is needed.
affects: >=1.5.0
gotchaAuthentication failure might not raise an obvious error; client.connect() returns True/False, and subsequent calls may raise DelugeConnectionException.
fix
Always check the return value of client.connect() and wrap calls in try/except DelugeConnectionException.
affects: all
deprecatedThe old import path `delugeclient` (without underscore) was removed in v1.0.
fix
Use `from deluge_client import DelugeRpcClient` instead.
affects: >=1.0.0
Upgrade
Version history
1.10.2latest on PyPI · released Feb 17, 2024
Audit
Dependencies

No dependency data recorded yet.

Agent activity
27 hits · last 30 days
node
24
OpenAI (training)
1
Resources
deluge-client — pip install deluge-client · libregistry