Module to work with bencoded strings (python 2.X)
What is a Bencoded String?
Bencode (pronounced like B encode) is the encoding used by the peer-to-peer file sharing system BitTorrent for storing and transmitting loosely structured data.
For more info on bencoding check out this.
- It provides:
- decoding of the different bencoded elements
- encoding of the allowed types (byte strings, integers, lists, and dictionaries).
Requires Python 2.6 or later.