{"id":23066,"library":"deluge-client","title":"Deluge Client","description":"Simple Deluge RPC client for managing a Deluge BitTorrent client. Current version 1.10.2, stable with occasional patches.","status":"active","version":"1.10.2","language":"python","source_language":"en","source_url":"https://github.com/JohnDoee/deluge-client","tags":["deluge","bittorrent","rpc","client"],"install":[{"cmd":"pip install deluge-client","lang":"bash","label":"Standard install"}],"dependencies":[],"imports":[{"note":"Direct import of the class is the only way; the module itself is not a client.","wrong":"import deluge_client","symbol":"DelugeRpcClient","correct":"from deluge_client import DelugeRpcClient"}],"quickstart":{"code":"from deluge_client import DelugeRpcClient\nclient = DelugeRpcClient('localhost', 58846, 'username', 'password')\nclient.connect()\ntorrents = client.get_torrents_status({}, ['name', 'progress'])\nprint(torrents)","lang":"python","description":"Connect to a Deluge daemon and list torrents with name and progress."},"warnings":[{"fix":"Use Python 3.6 or newer. Pin to <1.5 if Python 2 is needed.","message":"v1.5+ dropped Python 2 support. Python 3.6+ required.","severity":"breaking","affected_versions":">=1.5.0"},{"fix":"Always check the return value of client.connect() and wrap calls in try/except DelugeConnectionException.","message":"Authentication failure might not raise an obvious error; client.connect() returns True/False, and subsequent calls may raise DelugeConnectionException.","severity":"gotcha","affected_versions":"all"},{"fix":"Use `from deluge_client import DelugeRpcClient` instead.","message":"The old import path `delugeclient` (without underscore) was removed in v1.0.","severity":"deprecated","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Install with 'pip install deluge-client' and import with 'from deluge_client import DelugeRpcClient'.","cause":"Package not installed or wrong import name used (e.g., 'delugeclient' without underscore).","error":"ModuleNotFoundError: No module named 'deluge_client'"},{"fix":"Ensure deluged is running and accessible on the specified host and port. Check if host/port are correct and firewall allows connection.","cause":"Deluge daemon not running, wrong host/port, or firewall blocking.","error":"deluge_client.client.DelugeConnectionException: Connection was refused by the server"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}