Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stream_manager-1.1.1.tar.gz (39.1 kB view hashes)

Uploaded Source

Built Distribution

stream_manager-1.1.1-py2.py3-none-any.whl (40.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page