bencode3 bencode (BitTorrent) encoding & decoding library for Python 3. Ported from the pip bencode library, that only works for Python 2. Original implementation: https://pypi.python.org/pypi/bencode/1.0