Skip to main content

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 and the metadata protocol 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

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

ih2torrent-0.1.7.tar.gz (8.9 kB view hashes)

Uploaded source

Supported by

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