[Baypiggies] python bittorent client library?

Jeremy Fishman jeremy.r.fishman at gmail.com
Tue Feb 16 21:10:39 CET 2010


The main BitTorrent client has always had a Python reference implementation
and a Python-based tracker.  Now that's it's been closed off within uTorrent
it's hard to find these resources

Rather than writing your own Python client, I suggest you look into
Transmission (http://www.transmissionbt.com/).

You can set up Transmission
  * as a headless system service (
http://trac.transmissionbt.com/wiki/HeadlessUsage)
  * setup the config to watch a directory for torrent files (
http://trac.transmissionbt.com/wiki/ConfigurationParameters)
    * OR - developer version has RSS feed capabilities, plus there's an
example Python script for this
    * OR - use the RPC support to remotely add torrents
  * run a script on torrent completion (e.g.
http://trac.transmissionbt.com/wiki/Scripts/EmailNotifier)

There appears not to be great support for the last task there; the example
script is a cron job that watches for completed files.  There may be a real
feature to support this, but I haven't looked into it.

  - Jeremy


--
Jeremy R. Fishman
Software Developer, Quantcast
jeremy.r.fishman at gmail.com


On Tue, Feb 16, 2010 at 11:28 AM, William Deegan <bdbaddog at gmail.com> wrote:

> Greetings,
>
> I need to push a big bunch of data around to a bunch of cluster nodes
> and run some install scripts once the blob of data has been fully
> recieved.
> I was thinking of using RSS + Bittorrent.
>
> Are there any python bittorrent client libraries?
>
> Here's the flow I'm thinking of:
> 1) Publish via rss that a new bundle is available
> 2) each cluster node's polling the rss file, when it detects a new update
> 3) start bittorrent client to pull data
> 4) once data is fully transferred, run an install script
> 5) once 2x data received or some max time, shut down bt client.
>
> -Bill
> _______________________________________________
> Baypiggies mailing list
> Baypiggies at python.org
> To change your subscription options or unsubscribe:
> http://mail.python.org/mailman/listinfo/baypiggies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20100216/9b6ea22b/attachment.htm>


More information about the Baypiggies mailing list