FeaturesΒΆ

  • BitTorrent v1, v2, and hybrid support: Generate classic v1, pure v2, or BEP 52 hybrid torrents.

  • Fast multithreaded hashing: Utilizes multiple worker threads by default (configurable via --threads) while reading file data in a single pass.

  • Flexible tracker & peer setup: Add multiple trackers, automatically fetch the best trackers from ngosang/trackerslist (bestN), add DHT bootstrap nodes, or create trackerless torrents.

  • Webseed support: Embed HTTP/FTP GetRight-style webseeds (url-list).

  • Private torrents & custom metadata: Set the private flag (disabling DHT/PEX), add comments, source tags (for cross-seeding), custom torrent names, or custom ISO 8601 creation dates.

  • Fine-grained file filtering: Exclude specific paths or match relative paths using case-sensitive or case-insensitive regular expressions.

  • Automatic or custom piece sizes: Automatically selects a sensible piece size or lets you specify an exact power-of-two size.

  • Lightweight & scriptable: Requires only Python 3.11+ and bencode.py; usable both as a CLI tool and via a clean Python API (TorrentSpec, create_torrent).