Skip to main content

A contraption for async subprocess streaming

Project description

Async subprocess pipelines and stream transports:

"""An example of using ``reel`` to play music."""
import trio

from reel import Reel
from reel.cmd import ffmpeg, sox

async def main():
    """Play some audio files through the speakers."""
    cornell77 = ''.join([

    tracks = [

    playlist = Reel([ for track in tracks])
    speakers = sox.speakers()

    async with playlist | speakers as player:

if __name__ == '__main__':


This project is a simplified version of Python subprocess control with pipes and asynchronous support. It is being developed to support tapedeck, a music streaming package which uses ffmpeg and other shell commands to get music from various sources to various destinations.

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 reel, version 0.0.8
Filename, size File type Python version Upload date Hashes
Filename, size reel-0.0.8.tar.gz (43.0 kB) File type Source Python version None Upload date Hashes View
Filename, size reel-0.0.8-py2.py3-none-any.whl (52.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page