- Clean up callback hell by making more code inline - Use async/await syntax as it has more modern niceties than inlineCallbacks - Also gets us closer if we want to transition to asyncio in the future - `await` is usable in places that `yield` is not. e.g. `return await thething` `func(await thething, 'otherparam')` - IDEs know async semantics of async/await syntax to help more than with `inlineCallbacks` - `maybe_coroutine` decorator has nice property (over `ensureDeferred`) that when used in a chain of other coroutines, they won't be wrapped in deferreds on each level, and so traceback will show each `await` call leading to the error. - All async functions wrapped in `maybe_coroutine` are 100% backwards compatible with a regular Deferred returning function. Whether called from a coroutine or not. - Use Deferred type hints as strings since older versions of twisted (<21.7) don't support generic Deferred type hinting.
Deluge BitTorrent Client
Deluge is a BitTorrent client that utilizes a daemon/client model. It has various user interfaces available such as the GTK-UI, Web-UI and Console-UI. It uses libtorrent at its core to handle the BitTorrent protocol.
Install
From PyPi:
pip install deluge
with all optional dependencies:
pip install deluge[all]
From source code:
pip install .
with all optional dependencies:
pip install .[all]
See DEPENDS and Installing/Source for dependency details.
Usage
The various user-interfaces and Deluge daemon can be started with the following commands.
Use the --help option for further command options.
Gtk UI
deluge or deluge-gtk
Console UI
deluge-console
Web UI
deluge-web
Open http://localhost:8112 with default password deluge.
Daemon
deluged
See the Thinclient guide to connect to the daemon from another computer.
Contact
Description
Languages
Python
75.3%
JavaScript
15.4%
CSS
8.4%
Shell
0.5%
NSIS
0.3%
Other
0.1%