Deluge BitTorrent client - Git mirror, PRs only
https://www.deluge-torrent.org
47e548fdb5
Just trying to clean up some of the more complicated callback logic. Notable changes: * The test was awaiting a DeferredList. By default that will eat exceptions and just add them to the result list (including test assertion exceptions.) Added fireOnOneErrback=True to make sure that wasn't happening. * Moved the logic for multiple calls to await the same response into torrentmanager from core, so no matter where the prefetch is called from it will wait for the original call. * Implemented the multiple calls with an explicit queue of waiting callbacks, rather than a callback callback chain. * Moved to one inline async function rather than split into a main and callback after alert function. * Added some more type hints to the stuff I changed. Adjusted test since we are using prefetch as an async function now we have to schedule the alert to come after we start awaiting the prefetch call. Closes: https://github.com/deluge-torrent/deluge/pull/368 |
||
---|---|---|
.github/workflows | ||
deluge | ||
docs | ||
packaging | ||
.gitattributes | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.prettierignore | ||
.prettierrc.yaml | ||
.pylintrc | ||
.readthedocs.yml | ||
AUTHORS | ||
CHANGELOG.md | ||
DEPENDS.md | ||
LICENSE | ||
MANIFEST.in | ||
README.md | ||
gen_web_gettext.py | ||
generate_pot.py | ||
minify_web_js.py | ||
msgfmt.py | ||
pyproject.toml | ||
requirements-dev.txt | ||
requirements-tests.txt | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
tox.ini | ||
version.py |
README.md
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.