The BitTorrent bencode module as leight-weight, standalone package.
This package simply re-packages the existing bencoding and bdecoding implemention from the ‘official’ BitTorrent client as a separate, leight-weight package for re-using them without having the entire BitTorrent software as a dependency.
It currently uses the implementation from BitTorrent Version 5.0.8, the file bencode.py is a verbatim, unmodified copy from that distribution.
It also contains some tests and a benchmark.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|BitTorrent_bencode-5.0.8-py2.4.egg (11.6 kB) Copy SHA256 hash SHA256||Egg||2.4|
|BitTorrent-bencode-5.0.8.tar.gz (15.2 kB) Copy SHA256 hash SHA256||Source||None|