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.3

  • Speed improvements

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.3.tar.gz (13.8 kB view details)

Uploaded Source

File details

Details for the file SimpleTorrentStreaming-0.1.3.tar.gz.

File metadata

File hashes

Hashes for SimpleTorrentStreaming-0.1.3.tar.gz
Algorithm Hash digest
SHA256 6a7227bad77fa77ee30633cbf42e0268f02f7795bc0b4b716f839722eb642790
MD5 446a6a755030b2b6c2e71cf2582cc95d
BLAKE2b-256 2cec3e316525958aff299c27130d2f896a90aaabec4acc7089ab904731f994c8

See more details on using hashes here.

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