26
votes

Is there a Python BitTorrent library that just works?

I need to tinker around with BitTorrent protocol for a research project and I don't want to reinvent the wheel and write my own implementation of the protocol (and neither I am capable of doing so)

I looked at the sources for the official BitTorrent client, but that is not what I am looking for. A library/ module is what I would prefer.

Thanks!

2
Checkout this version. Pure python running with Twister. this is a Fork of ABTorrent, a minimal, pure python BitTorrent client implementation using Twisted. - cph

2 Answers

18
votes

You might want to have a look at the python-libtorrent project. It's a wrapper around the libtorrent C++ library, which claims to be efficient and easy to use.

12
votes

BitTornado is pure Python library written by John Hoffman.