Streaming data with Python
Project description
# streaming
[![Build Status](https://travis-ci.org/FRidh/streaming.svg?branch=master)](https://travis-ci.org/FRidh/streaming)
streaming is a Python library for working with streams of data. Streams are iterables that have operators defined.
In [1]: s = Stream(range(8)) In [2]: list(s + 10) Out[2]: [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 BlockStream. Switching from one to the other is easy,
In [3]: s = Stream(range(100000)) Out[3]: <streaming.stream.Stream at 0x7fc479462518> In [4]: s.blocks(8192) Out[4]: <streaming.stream.BlockStream at 0x7fc479462908>
This library was written for a signal processing tool.
## Installation
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.
## Tests
The test suite can be run with
python setup.py test
or
py.test
## Documentation
The latest version of the documentation can be found at http://fridh.github.io/streaming/.
## License
The BSD 2-Clause License applies to the code.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file streaming-0.1.2.tar.gz
.
File metadata
- Download URL: streaming-0.1.2.tar.gz
- Upload date:
- Size: 105.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b048542fd79aed205805ebaadbc43c0c91392382a02cf4c796f3e98c65af1795 |
|
MD5 | 3f869b180d243e86cf9e80fd938e8c2d |
|
BLAKE2b-256 | cd65b76f2c7d193e732671003d63c43d0f6352973aa310cd8be480bf0678e2e9 |