Metadata-Version: 2.4
Name: trackerping
Version: 1.1.0
Summary: Connectivity test tool for Bittorrent trackers.
Author-email: Cycloctane <Cycloctane@octane.top>
License-Expression: MIT
Project-URL: Repository, https://github.com/Cycoctane/trackerping.git
Keywords: torrent,network
Classifier: Topic :: Utilities
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: aiohttp>=3.11
Requires-Dist: anyio
Requires-Dist: yarl
Dynamic: license-file

trackerping
===========

Connectivity test tool for BitTorrent trackers.

## Usage

Install it via pip:

```bash
pip install trackerping
trackerping -h
```

... or directly download and run the script:

```bash
pip install -r ./requirements.txt
python3 ./trackerping.py -h
```

### Ping a single tracker

Ping a single tracker url and print the result.

```bash
trackerping http://tracker.example.com/announcen
trackerping --timeout=10 udp://tracker.example.com:80/announce
trackerping ws://webtorrent.example.com:80/announce
```

### Ping all treackers in a trackerslist

Ping all trackers url in a local or remote trackerslist (one url per line).

```bash
trackerping -l ./trackerslist.txt
trackerping -l https://example.com/trackerslist.txt
```

Write available trackers to the new trackerslist:

```bash
trackerping -l -o ./newtrackerslist.txt https://example.com/trackerslist.txt
```
