Description
Encode and decode bencode data from Python, with optional C extensions for speed. It helps tools work with data formats used by BitTorrent and other systems that rely on bencode structures.
This is a parser library, not a BitTorrent client. Data from untrusted sources should be size-limited and validated so malformed input cannot waste resources or confuse downstream processing.