Skip to main content

A collection of scripts for managing torrents in qBittorrent

Project description

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

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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qbittorrent_tools-1.0.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qbittorrent_tools-1.0.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file qbittorrent_tools-1.0.0.tar.gz.

File metadata

  • Download URL: qbittorrent_tools-1.0.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for qbittorrent_tools-1.0.0.tar.gz
Algorithm Hash digest
SHA256 200ff9c3c758dfdefe943ed2532779d09082b69482dba0980b5a75fc41970541
MD5 8ed4b5d0cb1ff421e7a14672e79d58cd
BLAKE2b-256 0827ac7427c4044f394fd17a03e5a621b1da5e9cbc5a9b04845f80538f8e0977

See more details on using hashes here.

Provenance

The following attestation bundles were made for qbittorrent_tools-1.0.0.tar.gz:

Publisher: release.yml on cmorrison31/qBittorrent-Tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qbittorrent_tools-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for qbittorrent_tools-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 582a06f9a1e1479fba82342d6482412f65acae73d691b552de9234b09b0ddd51
MD5 f1b4b725bced0269d6aecb5b9ab2f337
BLAKE2b-256 5b8d9ba6dff7c3e3eea10fe880666f85e5d5478bd9a7752cab7dbd1979fe75e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for qbittorrent_tools-1.0.0-py3-none-any.whl:

Publisher: release.yml on cmorrison31/qBittorrent-Tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page