The AWS IoT Greengrass Stream Manager SDK for Python
Project description
AWS Greengrass Stream Manager SDK for Python
The AWS Greengrass Stream Manager SDK for Python enables Python developers to manage data streams using Stream Manager on AWS IoT Greengrass core.
Overview
This document provides instructions for preparing your Python code to manage Streams in Stream Manager using the Python SDK.
Using Stream Manager Client to work with Streams
Follow the guide here to work with Streams using the Stream Manager Client from the Stream Manager SDK.
View Python SDK documentation here.
Compatibility
Stream Manager SDK provided by this repo is compatible with Stream Manager running on Greengrass Core 1.11 and above.
Requirements
This SDK has additional requirements. Specifically, Stream Manager SDK requires Python version 3.6 or above. It also has package requirements listed in the requirements.txt file. Please install these requirements.
To install the requirements you can use pip such as :code:pip install --user -r requirements.txt
. This will install
the requirements to your Python path on the device. However if you are deploying the code to a device, you can bundle
the requirements with your code. With the pip command above, the dependencies will be installed to the user
site-packages directory. To find its location, use :code:python -m site --user-site
. You can then simply copy the
entire user site package directory contents into the final artifact before deploying which will ensure that the Stream
Manager dependencies are present.
Installation
One way to install both stream-manager and its dependencies (i.e. cbor) is to run the following command:
pip3 install stream_manager
Getting Help
License
Apache 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for stream_manager-1.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dc7cc850d9470096df5abb7faacf243b5e8a8521dede92e287afb0e6f4141c4 |
|
MD5 | 1e09697325d538ca606af0c6e5ecff5c |
|
BLAKE2b-256 | 2a0e96f8dc0565074b65f131abee7fbfec6e146b914e1b2bffaf4a556c926167 |