views:

134

answers:

3

Does anyone know of an existing python library that I can use for working with / downloading torrent files? I am working with a project where I need to download torrent files, and I would like to not have to implement the specification myself if there is something out there that would make it easier.

+1  A: 

You can use twisted as in this recipe: http://code.activestate.com/recipes/440555-twisted-bittorrent-client-server/

Matt Williamson
+2  A: 

There are plenty of Python sources for the purpose, including (the one and only true original;-) Bram Cohen's BitTorrent (bet you didn't know it was originally implemented in Python;-).

Alex Martelli
A: 

The Python Package Index may be your friend.

msw