Namespace com.ibm.streamsx.topology.python

Toolkits > com.ibm.streamsx.topology 2.1.0 > com.ibm.streamsx.topology.python

Python Support

Support for Python with IBM Streams.

Python is integrated with IBM Streams for:

  • Building complete streaming applications in Python
  • Implementing SPL primitive operators in Python
  • Using the IBM Streams and Streaming Analytics REST APIs from Python

Python developers are recommended to install the latest version of the streamsx package from pypi.org.

Python support is also available from this toolkit by including the path toolkit location/com.ibm.streamsx.topology/opt/python/packages in the PYTHONPATH environment variable. This is setup automatically by streamsprofile.sh to the product version of this toolkit under $STREAMS_INSTALL/toolkits.

Note: If you are using the streamsx package or a different version to the product install version then you must remove the path to the product version from PYTHONPATH.

Python support is documented through Sphinx documentation generated from the Python code available at:

The following SPLDOC documentation provides an overview for the Python topology API and SPL specific details for SPL Python primitive operators.

Python Topology API
Develop IBM Streams applications with Python.
Creating SPL Operators from Python code
SPL operators that call a Python function or callable class are created by decorators provided by this toolkit.
Executing applications using Python