No description
Find a file
Radu Carpa 1751d62df9
[Core] Support creating v2 torrents
Add support for v2 torrents in create_torrent, but keep the old
default of only adding the v1 metadata.

Unify the single-file and directory cases to avoid code
duplication.

V2 torrents require files to be piece-aligned. The same for
hybrid v1/v2 ones. To handle both cases of piece-aligned and
non-aligned files, always read the files in piece-aligned
chunks. Re-slice the buffer if needed (for v1-only multi-file
torrents).

Also, had to adapt to progress event. It now depends on the
number of bytes hashed rather than the number of pieces. To
avoid sending and excessive amount of event when handling a
directory with many small files, add a mechanism to limit
event period at 1 per piece_length.

Closes: https://github.com/deluge-torrent/deluge/pull/430
2023-11-20 10:05:39 +00:00
.github/workflows [Tests] Fix console tests stalling by pinning pytest to 7.4.2 2023-11-19 23:14:44 +00:00
deluge [Core] Support creating v2 torrents 2023-11-20 10:05:39 +00:00
docs [Docs] Update changelog and install details 2022-07-08 09:04:57 +01:00
packaging [Packaging] Fix NSIS Uninstaller Not Removing File\Folder 2023-05-30 19:50:23 +01:00
.gitattributes [Tests] Fix erroneous windows line endings in test state file 2022-01-26 18:44:47 +00:00
.gitignore [Tests] Ignore pytest temp dir 2023-05-29 12:10:47 +01:00
.pre-commit-config.yaml [Lint] Update pre-commit apps to latest versions 2023-02-24 14:59:15 +00:00
.prettierignore [Lint] Format files with Prettier 2018-10-03 18:16:09 +01:00
.prettierrc.yaml [Lint] Format files with Prettier 2018-10-03 18:16:09 +01:00
.pylintrc Remove all Python 2 support 2021-12-28 19:26:38 +00:00
.readthedocs.yml [Docs] Fix readthedocs builds 2023-09-18 13:00:59 +01:00
AUTHORS [UI] Add magnet icons for copy and add actions 2021-09-21 20:38:08 +01:00
CHANGELOG.md [Common] Replace pkg_resources with importlib for resource path finding 2023-05-29 12:08:34 +01:00
DEPENDS.md [Core] Stopped using libtorrent deprecated functions 2022-02-13 11:36:04 +00:00
gen_web_gettext.py Upgrade codebase with pyupgrade (>=py3.6) 2021-12-29 21:51:07 +00:00
generate_pot.py [Lint] Update pre-commit apps to latest versions 2023-02-24 14:59:15 +00:00
LICENSE Update LICENSE in trunk too.. 2009-04-06 21:17:26 +00:00
MANIFEST.in [Packaging] Fix gtk3 glade path in MANIFEST 2021-11-23 20:07:33 +00:00
minify_web_js.py Upgrade codebase with pyupgrade (>=py3.6) 2021-12-29 21:51:07 +00:00
msgfmt.py Upgrade codebase with pyupgrade (>=py3.6) 2021-12-29 21:51:07 +00:00
pyproject.toml [Tests] Fix console tests stalling by pinning pytest to 7.4.2 2023-11-19 23:14:44 +00:00
README.md [Docs] Add permanent discord invite link 2022-02-15 15:30:08 +00:00
requirements-ci.txt [Tests] Fix console tests stalling by pinning pytest to 7.4.2 2023-11-19 23:14:44 +00:00
requirements-dev.txt [Build] Fix WebUI js minifying error 2021-12-15 09:37:55 +00:00
requirements-tests.txt [Tests] Fix console tests stalling by pinning pytest to 7.4.2 2023-11-19 23:14:44 +00:00
requirements.txt [CI] Fix packaging errors with Python 3.7 2023-09-18 13:00:43 +01:00
setup.cfg [Lint] Update linter version and fix issues 2022-02-13 13:38:27 +00:00
setup.py Update metainfo install path 2023-02-24 13:42:19 +00:00
tox.ini [Tests] Ignore 3rd-party deprecation warnings in pytest 2023-02-27 20:15:12 +00:00
version.py Upgrade codebase with pyupgrade (>=py3.6) 2021-12-29 21:51:07 +00:00

Deluge BitTorrent Client

build-status docs-status

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