跳转到主要内容

基于AWS通用运行时的AWS IoT SDK

项目描述

AWS IoT设备SDK v2 for Python

Version

本文件提供有关AWS IoT设备SDK v2 for Python的信息。此SDK基于AWS通用运行时

跳转到

安装

最低要求

  • Python 3.7+

分步指南

从PyPI安装

MacOS和Linux

python3 -m pip install awsiotsdk

Windows

python -m pip install awsiotsdk

从源代码安装

# 1. Create a workspace directory to hold all the SDK files
mkdir sdk-workspace
cd sdk-workspace

# 2. Clone the repository. You could select the version of the SDK you desire to use.
git clone -b <SDK_VERSION> https://github.com/aws/aws-iot-device-sdk-python-v2.git

# 3. (Optional) Setup the version number of your local build. The default version 
#    for awsiotsdk is set to "1.0.0-dev", you can set the version number of the
#    local build in "aws-iot-device-sdk-python-v2/awsiot/__init__.py"
sed -i "s/__version__ = '1.0.0-dev'/__version__ = '<SDK_VERSION>'/" \
  aws-iot-device-sdk-python-v2/awsiot/__init__.py

# 4. Install using Pip (use 'python' instead of 'python3' on Windows)
python3 -m pip install ./aws-iot-device-sdk-python-v2

示例

示例README

获取帮助

与我们的团队互动的最佳方式是通过GitHub。您可以为指导问题开启一个讨论,或者为错误报告或功能请求开启一个问题。您还可以在具有StackOverFlow标签的社区资源#aws-iot中找到帮助,或者如果您与AWS Support有支持计划,您也可以创建一个新的支持案例。

在提交问题之前,请务必查看我们的资源。

许可证

此库采用Apache 2.0许可证授权。

最新发布版本:v1.22.0

项目详情


发布历史 发布通知 | RSS源

下载文件

下载适用于您平台的项目文件。如果您不确定该选择哪个,请了解更多关于安装包的信息。

源代码分发

awsiotsdk-1.22.0.tar.gz (78.0 kB 查看哈希值)

上传时间 源代码

构建分发

awsiotsdk-1.22.0-py3-none-any.whl (75.0 kB 查看哈希值)

上传时间 Python 3

支持者