[Chicago] torrent and python

Lukasz Szybalski szybalski at gmail.com
Fri Feb 6 07:27:54 CET 2009


Hello,
I was wondering if somebody has played around with the torrent files in python?

http://code.google.com/p/metalink-library/source/browse/trunk/metalink.py

I was looking for a python library that would take a big file, or set
of files and create torrent files for them and then serve them in a
torrent server.

something like:
import bittorrent (or import torrent)

data=file.open('somebigfile.data')

bittorrent.create_torrent(data)

then upload it to a torrent server running on my computer that can be
accessed from outside.


Then I could distribute some python app that would

import bittorrent

bittorrent.download(url_to_some torrent file)  #or an actual torrent file


Any recommendations?

Thanks,
Lucas




-- 
How to create python package?
http://lucasmanual.com/mywiki/PythonPaste
Bazaar and Launchpad
http://lucasmanual.com/mywiki/Bazaar


More information about the Chicago mailing list