Deluge BitTorrent client - Git mirror, PRs only https://www.deluge-torrent.org
Go to file
Mamoru TASAKA 5d96cfc72f
[UI] Replace deprecated cgi module with email
As PEP 594 says, cgi module is marked as deprecated
in python 3.11, and will be removed in 3.13
(actually removed at least in 3.13 rc1).

As suggested on PEP 594, replace cgi.parse_header
with email.message.EmailMessage introduced in python 3.6.

Updated test modify test_download_with_rename_sanitised
- With RFC2045 specification, Content-Disposition filenames
parameter containing slash (directory separator) must be
quoted, so changing as such.

Ref: https://peps.python.org/pep-0594/#deprecated-modules
Ref: https://peps.python.org/pep-0594/#cgi

Closes: https://github.com/deluge-torrent/deluge/pull/462
2024-09-08 09:45:14 +01:00
.github/workflows [CI] Update actions to latest version (node 16 deprecation) 2024-08-24 17:33:18 +01:00
deluge [UI] Replace deprecated cgi module with email 2024-09-08 09:45:14 +01:00
docs [Build] Fix Ubuntu dependency for appindicator 2024-08-26 19:39:59 +01:00
packaging [Packaging] NSIS x64 reg-keys into proper place 2024-08-24 16:13:36 +01:00
.gitattributes [Tests] Fix erroneous windows line endings in test state file 2022-01-26 18:44:47 +00:00
.gitignore Add deluge.pot to repo for new translation app 2024-07-15 08:39:31 +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 [Build] Fix Ubuntu dependency for appindicator 2024-08-26 19:39:59 +01: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
README.md [Docs] Add permanent discord invite link 2022-02-15 15:30:08 +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
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
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 [Tests] Fix missing __qualname__ for mock callback 2024-09-06 21:02:50 +01:00
setup.cfg [Lint] Update linter version and fix issues 2022-02-13 13:38:27 +00:00
setup.py [Tests] Fix missing __qualname__ for mock callback 2024-09-06 21:02:50 +01: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

README.md

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