Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Convert a torrent infohash or magnet URI to a .torrent file using DHT and metadata protocol. Asyncio based.

Project description

ih2torrent creates a trackerless torrent file from an infohash or a magnet URI. It uses BitTorrent [DHT][1] and the [metadata protocol][2] to find peers for the torrent and obtain its metadata.

In order to get the dependencies inside a virtualenv, run make. You need Python 3.4.3 or higher to run ih2torrent. Notice that for some reason when using Python 3.4.3, lots of “Exception” reports is printed at the end of the program. This doesn’t seem to have any negative effect on the working of the program though. With Python 3.5 there doesn’t seem to be such a problem.

You can use pip to install ih2torrent: pip3 install ih2torrent

[1]: http://www.bittorrent.org/beps/bep_0005.html [2]: http://www.bittorrent.org/beps/bep_0009.html

Project details


Download files

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

Files for ih2torrent, version 0.1.14
Filename, size File type Python version Upload date Hashes
Filename, size ih2torrent-0.1.14.tar.gz (9.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page