Skip to content
Jacky He edited this page Jun 14, 2026 · 6 revisions

Welcome to the torrentlib wiki!

torrentlib

Python helpers for BitTorrent tracker queries, peer communication, and metadata inspection.

torrentlib is not a full BitTorrent client. It can:

  • load .torrent metadata
  • announce to HTTP and UDP trackers
  • collect IPv4 and IPv6 peer lists
  • connect to peers that support the extension protocol
  • download torrent metadata from peers via ut_metadata
  • process peer exchange (ut_pex) messages

It does not manage piece downloads/uploads for complete content transfer.

Clone this wiki locally