Python Application API reference
The IBM® Streams Python Application API is an open source API that is available to create stream-processing applications for IBM Streams or for the Streaming Analytics service in the cloud.
Streams are defined, processed, and sinked (terminated) by using Python functions. The return of a function determines the content of the stream. Tuples on a stream are Python objects, and a stream can contain different types of objects.
How to install the Python Application API
The Python Application API is shipped with IBM Streams. You can also download the Python Application API package as part of the
com.ibm.streamsx.topology toolkit or as a stand-alone streamsx
Python package. com.ibm.streamsx.topologytoolkit: Download the latest version of thecom.ibm.streamsx.topologytoolkit, which includes the Python Application API, from https://github.com/IBMStreams/streamsx.topology/releases/latest.- Stand-alone
streamsxPython package: To install Python Application API, enter the following command:
The package is available for download from https://pypi.python.org/pypi/streamsx.pip install streamsx