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
[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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qbittorrent_tools-1.1.1.tar.gz.
File metadata
- Download URL: qbittorrent_tools-1.1.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81dca759e400d56e6719f0570994689d3e0728a0393051ba642f085ff8af39d1
|
|
| MD5 |
8cc32f76657374615f20bc2eca97e942
|
|
| BLAKE2b-256 |
40bca45d90b0b0669f847c6c1b3b97bac3dfdbca3959a9296b5312c3b4c85563
|
Provenance
The following attestation bundles were made for qbittorrent_tools-1.1.1.tar.gz:
Publisher:
release.yml on cmorrison31/qBittorrent-Tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qbittorrent_tools-1.1.1.tar.gz -
Subject digest:
81dca759e400d56e6719f0570994689d3e0728a0393051ba642f085ff8af39d1 - Sigstore transparency entry: 621415906
- Sigstore integration time:
-
Permalink:
cmorrison31/qBittorrent-Tools@ec7bbcece15f84d046df62e886ad0fc2270d24da -
Branch / Tag:
refs/heads/main - Owner: https://github.com/cmorrison31
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ec7bbcece15f84d046df62e886ad0fc2270d24da -
Trigger Event:
push
-
Statement type:
File details
Details for the file qbittorrent_tools-1.1.1-py3-none-any.whl.
File metadata
- Download URL: qbittorrent_tools-1.1.1-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de3ce21eac44dc51c5e8a5f6f560db999eb5717f608b2cdc1f6358c76021c9d8
|
|
| MD5 |
5c9fd4994aef3ead1f4ac760eeefcfc9
|
|
| BLAKE2b-256 |
f4153f364ec4053e605246411601fc81be2bccf078328471feec32851f5525b2
|
Provenance
The following attestation bundles were made for qbittorrent_tools-1.1.1-py3-none-any.whl:
Publisher:
release.yml on cmorrison31/qBittorrent-Tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qbittorrent_tools-1.1.1-py3-none-any.whl -
Subject digest:
de3ce21eac44dc51c5e8a5f6f560db999eb5717f608b2cdc1f6358c76021c9d8 - Sigstore transparency entry: 621415909
- Sigstore integration time:
-
Permalink:
cmorrison31/qBittorrent-Tools@ec7bbcece15f84d046df62e886ad0fc2270d24da -
Branch / Tag:
refs/heads/main - Owner: https://github.com/cmorrison31
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ec7bbcece15f84d046df62e886ad0fc2270d24da -
Trigger Event:
push
-
Statement type: