snsary.streams.stream
Module Contents
- class snsary.streams.stream.Stream
Bases:
snsary.sources.Source,snsary.outputs.Output- into(*outputs)
- tee(output)
Subscribes the specified
Outputto the stream usinginto, but unlikeintoalso returns the stream for further use, similar to the Unixteecommand.
- apply(function)
- filter_names(*names)
- average(**kwargs)
Returns a new stream that applies a
WindowAverageto allReadingsover a period, specified as the keyword arguments for atimedelta.
- summarize(**kwargs)
Returns a new stream that applies a
WindowSummaryto allReadingsover a period, specified as the keyword arguments for atimedelta.