Skip to main content

Download from torrent with magnet link or .torrent file

Project description


Wrapped python library for downloading from torrent


Download from torrent with .torrent file or magnet link. With just 3 lines of python code.

PyPI version Supported Python versions Downloads


$ pip install torrentp

Also can be found on pypi

How can I use it?

  • Install the package by pip package manager.
  • After installing, you can use it and call the library.
  • You have to pass magnet link or torrent file, and a path for saving the file. use . (dot) for saving in current directory.

Download with magnet link:

from torrentp import TorrentDownloader
torrent_file = TorrentDownloader("magnet:...", '.')

Or download with .torrent file:

from torrentp import TorrentDownloader
torrent_file = TorrentDownloader("test.torrent", '.')

To do list

  • User can change the port
  • CLI
  • Pause / Resume


Feel free to submit issues and enhancement requests.


Please refer to each project's style and contribution guidelines for submitting patches and additions. In general, we follow the "fork-and-pull" Git workflow.

  1. Fork the repo on GitHub
  2. Clone the project to your own machine
  3. Update the Version inside
  4. Commit changes to your own branch
  5. Push your work back up to your fork
  6. Submit a Pull request so that we can review your changes

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

torrentp-0.1.5.tar.gz (7.3 kB view hashes)

Uploaded source

Built Distribution

torrentp-0.1.5-py3-none-any.whl (8.4 kB view hashes)

Uploaded py3

Supported by

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