mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-24 05:24:49 +00:00
No description
- 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. |
||
---|---|---|
.github/workflows | ||
deluge | ||
docs | ||
packaging | ||
.gitattributes | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.prettierignore | ||
.prettierrc.yaml | ||
.pylintrc | ||
.readthedocs.yml | ||
AUTHORS | ||
CHANGELOG.md | ||
DEPENDS.md | ||
gen_web_gettext.py | ||
generate_pot.py | ||
LICENSE | ||
MANIFEST.in | ||
minify_web_js.py | ||
msgfmt.py | ||
pyproject.toml | ||
README.md | ||
requirements-dev.txt | ||
requirements-tests.txt | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
tox.ini | ||
version.py |
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.