streaming is a Python library for working with streams of data.
Streams are iterables that have operators defined.
In : s = Stream(range(8)) In : list(s + 10) Out: [10, 11, 12, 13, 14, 15, 16, 17]
Operations can be done sample by sample by using an instance of
Stream, or on blocks of samples by using an instance of
Switching from one to the other is easy,
In : s = Stream(range(100000)) Out: <streaming.stream.Stream at 0x7fc479462518> In : s.blocks(8192) Out: <streaming.stream.BlockStream at 0x7fc479462908>
This library was written for a signal processing tool.
The latest release can be found on PyPI and installed with
pip install streaming.
Otherwise, you can clone this repository and install with
pip install or
pip install -e when you want an editable install.
The test suite can be run with
python setup.py test
The latest version of the documentation can be found at http://fridh.github.io/streaming/.
The BSD 2-Clause License applies to the code.