Skip to main content

A Python CLI tool for testing trackers

Project description

TrackerUtils

A Python CLI tool for testing trackers powered by typer

English | 中文

Usage

Test trackers

tu test [OPTIONS]

Options

Option Short Off Type Description
--tracker-provider-urls -u TEXT Tracker provider urls
--tracker-provider-file -f PATH Tracker provider file [default: None]
--output-txt-dir -o PATH Output directory for txt files [default: None]
--output-json-path PATH Output path for json file [default: None]
--format-json --no-format-json Format json file [default: no-format-json]
--sort --no-sort Sort output data [default: sort]
--show-failed Show failed tasks
--retry-times -r TIMEDELTA Retry times for failed tasks [default: 3]
--timeout -t FLOAT Timeout for each task [default: 10s]

Test trackers by qbittorrent web api

tu client-test [OPTIONS] URL TORRENT

Arguments

Argument type Description
* url TEXT Url of the qbittorrent web ui [default: None] [required]
* torrent TEXT Torrent name or hash [default: None] [required]

Options

Option Short Off Type Description
--trackers-urls -t TEXT List of trackers urls
--tackers-file -f PATH Path to the file containing trackers [default: None]
--username -u TEXT Username for the qbittorrent client [env var: QBITTORRENT_USERNAME] [default: None]
--password -p TEXT Password for the qbittorrent client [env var: QBITTORRENT_PASSWORD] [default: None]
--output-path -o PATH Path to the output file [default: None] [required]
--fast-mode --slow-mode Connection failure if tracker is updating with errors in Fast mode [default: slow-mode]
--polling-interval -i TIMEDELTA Interval in seconds between tracker contact attempts [default: 100ms]
--yes-all -y Answer yes to all prompts
--show-failed Show failed tasks
--timeout -t TIMEDELTA Timeout in seconds for all trackers [default: 5m]
--help Show this message and exit.

Set Trackers for qbittorrent client

tu set-trackers [OPTIONS] URL

Arguments

Argument type Description
* url TEXT Url of the qbittorrent web ui [default: None] [required]

Options

Option Short Type Description
--username -u TEXT Username for the qbittorrent client [env var: QBITTORRENT_USERNAME] [default: None]
--password -p TEXT Password for the qbittorrent client [env var: QBITTORRENT_PASSWORD] [default: None]
--trackers-urls -t TEXT List of trackers urls
--tackers-file -f PATH Path to the file containing trackers [default: None]
--help Show this message and exit.

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

tracker_utils-0.1.0.post0.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

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

tracker_utils-0.1.0.post0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file tracker_utils-0.1.0.post0.tar.gz.

File metadata

  • Download URL: tracker_utils-0.1.0.post0.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.3 CPython/3.12.10 Windows/11

File hashes

Hashes for tracker_utils-0.1.0.post0.tar.gz
Algorithm Hash digest
SHA256 bce22de9035436fac3fbbf1ad4ba287d1252bdb82207992cc5bd9370724e4833
MD5 ea07294b8480f3f48721092d036004ac
BLAKE2b-256 a967d9ad50db120373e81bf028695caf73582ec351dbe96e32ef9417dda885db

See more details on using hashes here.

File details

Details for the file tracker_utils-0.1.0.post0-py3-none-any.whl.

File metadata

File hashes

Hashes for tracker_utils-0.1.0.post0-py3-none-any.whl
Algorithm Hash digest
SHA256 27ed9a78b81be8600e3292070380f9576131d52f74ffea6e099dc88ccbe5597b
MD5 f10d9333b1f1aa5781cfb3860fa908c6
BLAKE2b-256 76c1a6be52e63125306130092d44e1e470ae84939fcfa3b002dc34af2c495b46

See more details on using hashes here.

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