You are here: Home / LBN / Up2date / Core Linux / BastionLinux 19 / python-isstreamer-0.0.24-1.lbn19.noarch

python-isstreamer-0.0.24-1.lbn19.noarch

Package Attributes
RPM  python-isstreamer-0.0.24-1.lbn19.noarch.rpm Architecture  noarch Size  28910 Created  2019/09/30 06:55:33 UTC
Package Specification
Summary A python module to simplify the process of getting log data to Initial State's platform
Group Application/Internet
License ZPL
Home Page https://pypi.python.org/packages/source/I/ISStreamer/ISStreamer-0.0.24.zip
Description

A python module to simplify the process of getting log data to Initial State's platform

Start Streaming! Review or copy the following example:

import time from ISStreamer.Streamer import Streamer

logger = Streamer(bucket="Stream Example", client_key="[Place Your Client Key Here]")

logger.log("My Messages", "Stream Starting") for num in range(1, 20): time.sleep(0.1) logger.log("My Numbers", num) if num%2 == 0: logger.log("My Booleans", "false") else: logger.log("My Booleans", "true") if num%3 == 0: logger.log("My Events", "pop") if num%10 == 0: logger.log("My Messages", "Stream Half Done") logger.log("My Messages", "Stream Done")

In this example, the logs will show up in Initial State under the name "Stream Example".

Requires
python  
rpmlib(FileDigests)  
rpmlib(CompressedFileNames)  
rpmlib(PayloadFilesHavePrefix)  
rpmlib(PartialHardlinkSets)  
rpmlib(PayloadIsXz)  
Provides
python-isstreamer

Document Actions