Skip to main content

A simple BitTorrent client

Project description

#Drench

Drench is a lightweight BitTorrent client written in Python. There are a couple of nice features, like the ability to download a subset of all the files in the torrent and exiting cleanly once the download is complete.

The client works with [vis](https://github.com/jefflovejapan/vis), a Twisted web server and D3.js visualization, to show what’s going on in the user’s file system while the download is taking place.

##Install

The preferred way to install Drench is with [pip](http://www.pip-installer.org/en/latest/installing.html), which will let you run the following command from the terminal:

pip install drench

Alternatively, you can clone the source and run the following:

python setup.py install

##Use

From the command line enter the following:

python -m drench ./mytorrent.torrent –port 8000 –visualizer 127.0.0.1:8002 –directory ~/Downloads/

./mytorrent.torrent: The path to your torrent file (required)

–port 8000: The port to use for BitTorrent traffic (optional)

–directory ~/Downloads: Where to save your download (optional)

–visualizer 127.0.0.1:8002: The address of your [vis](https://github.com/jefflovejapan/vis) server (optional)

Drench isn’t capable of downloading multiple torrents at once; just start up a second instance in another terminal instead.

##Status

You can use Drench to download torrent files from the small handful of sites I’ve tested on.

What doesn’t work: - Seeding - Magnet links - UDP-based handshake with tracker (which knocks out several of the biggest trackers)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drench-0.0.13.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drench-0.0.13-py2.7.egg (36.0 kB view details)

Uploaded Egg

File details

Details for the file drench-0.0.13.tar.gz.

File metadata

  • Download URL: drench-0.0.13.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for drench-0.0.13.tar.gz
Algorithm Hash digest
SHA256 af6d61f7dc4bde008a54d6e423f99bef2519b0fa6e89ca44f40ead6b77933d0f
MD5 0745fc3a6d35fc13714ccaa2866993bf
BLAKE2b-256 a4439b5a4c3f325e781e52d16b2484493e5add0e35d176fc658e1d0d4d52a278

See more details on using hashes here.

File details

Details for the file drench-0.0.13-py2.7.egg.

File metadata

  • Download URL: drench-0.0.13-py2.7.egg
  • Upload date:
  • Size: 36.0 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for drench-0.0.13-py2.7.egg
Algorithm Hash digest
SHA256 f07bd09db8224818f954637f3adc854d93289017336cf69844477f22b85d9493
MD5 f65756eb1f1f2148413b89f7e8142aee
BLAKE2b-256 071b59872d6a32857dbe6491e281b35219b38f353083fa118d965dcfd79762ba

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page