To access the Streams C8 API with Python you can use an existing package called pyC8. This provides a native-Python approach to working with Streams and the rest of the C8 API.
The package can be installed using pip3. Execute the command below to install the package within the environment.
pip3 install pyC8