Namespace com.teracloud.streams.topology.python
Python Support
Support for Python with Streams.
Python is integrated with Streams for:
- Building complete streaming applications in Python
- Implementing SPL primitive operators in Python
- Using the Streams REST APIs from Python
Python support is available from this toolkit by including the path toolkit location/com.teracloud.streams.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. See Streams Python support for details.
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 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.