Skip to main content

qBittorrent-Tools

This project is a collection of scripts for managing torrents in a qBittorrent instance.

Available Scripts

  • orphaned_torrents
  • unregistered_torrents

Note

qBittorrent-Tools is not affiliated with the official qBittorrent project.

License

This project is licensed under the MIT license. See LICENSE.txt for more information.

Configuration

Create a config.ini file like so:

[credentials]
username = username
password = password
server url = example.com:port

[paths]
qbittorrent base directory = base torrent file path
paths to ignore = comma separated list of paths to ignore

[path maps]
path to map = value to map to

[trackers]
old url prefix = http:example.com
new url prefix = https:example.com

Path mapping is used to address the fact that in a docker container, the path seen by the qBittorrent client probably isn't the real path. For example, if in the container, the files are stored in /data but are physically on a RAID array, /mnt/md0 then the following mapping would be needed: /data = /mnt/md0.

Example Usage

Call the script function for the operation you wish to execute. The config.ini file needs to be in the same directory as your script.

For example, if checking for unregistered torrents, the following script calls the appropriate function.

from qBittorrentTools import Scripts


def main():
    Scripts.unregistered_torrents()
    

if __name__ == "__main__":
    main()

Metadata

Release files for qBittorrent-Tools 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qBittorrent-Tools 1.1.1
File Size Uploaded
qbittorrent_tools-1.1.1.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qBittorrent-Tools 1.1.1
File Interpreter ABI Platform
qbittorrent_tools-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.4 kB

Release files / qbittorrent_tools-1.1.1.tar.gz

Download URL qbittorrent_tools-1.1.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
81dca759e400d56e6719f0570994689d3e0728a0393051ba642f085ff8af39d1
BLAKE2b-256 checksum
How to use checksums
40bca45d90b0b0669f847c6c1b3b97bac3dfdbca3959a9296b5312c3b4c85563
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2025.

Transparency log

Release files / qbittorrent_tools-1.1.1-py3-none-any.whl

Download URL qbittorrent_tools-1.1.1-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de3ce21eac44dc51c5e8a5f6f560db999eb5717f608b2cdc1f6358c76021c9d8
BLAKE2b-256 checksum
How to use checksums
f4153f364ec4053e605246411601fc81be2bccf078328471feec32851f5525b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page