Skip to main content

Simple libtorrent-based bittorrent streaming module

Project description

Simple libtorrent-based bittorrent streaming module

This is a small-as-it-gets python library able to handle multiple bittorrent downloads and bittorrent streaming (even multiple bittorrent streaming, theoretically, but who whould want that?)

Dependences

Requires libtorrent for python2 to be installed.

In debian and derivatives, this is accomplished by:

apt-get install python-libtorrent

Features

  • Play torrents in stream with mplayer

  • Very few lines of code

  • Multiple download of torrents

Usage

from SimpleTorrentStreaming import SimpleTorrentStreaming

Or, if you only want to play a torrent with mplayer:

stream_torrent "<magnet_link>"

History

0.1.2

  • Major refactoring

  • Thread stops after player has exitted.

  • Passing all params from get_parallel_magnets to get_blocking_magnet

0.1.1

  • Fixed some major bugs

  • Replaced magnet dependency for a urllib call

0.1.0 (2015-04-12)

  • First release on PyPI.

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

SimpleTorrentStreaming-0.1.2.tar.gz (13.8 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