Python Client for Google Cloud Internet of Things (IoT) Core API¶
Google Cloud Internet of Things (IoT) Core API: is a complete set of tools to connect, process, store, and analyze data both at the edge and in the cloud. The platform consists of scalable, fully-managed cloud services; an integrated software stack for edge/on-premises computing with machine learning capabilities for all your IoT needs.
Quick Start¶
In order to use this library, you first need to go through the following steps:
Installation¶
Install this library in a virtualenv using pip. virtualenv is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions.
With virtualenv, it’s possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.
Code samples and snippets¶
Code samples and snippets live in the samples/ folder.
Supported Python Versions¶
Our client libraries are compatible with all current active and maintenance versions of Python.
Python >= 3.7
Unsupported Python Versions¶
Python <= 3.6
If you are using an end-of-life version of Python, we recommend that you update as soon as possible to an actively supported version.
Mac/Linux¶
pip install virtualenv
virtualenv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install google-cloud-iot
Windows¶
pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install google-cloud-iot
Next Steps¶
Read the Client Library Documentation for Google Cloud Internet of Things (IoT) Core API to see other available methods on the client.
Read the Google Cloud Internet of Things (IoT) Core API Product documentation to learn more about the product and see How-to Guides.
View this README to see the full list of Cloud APIs that we cover.
Note
Because this client uses grpc
library, it is safe to
share instances across threads. In multiprocessing scenarios, the best
practice is to create client instances after the invocation of
os.fork()
by multiprocessing.pool.Pool
or
multiprocessing.Process
.
API Reference¶
Migration Guide¶
See the guide below for instructions on migrating to the latest version.
Changelog¶
For a list of all google-cloud-iot
releases:
- Changelog
- 2.9.2 (2023-07-04)
- 2.9.1 (2023-03-23)
- 2.9.0 (2023-02-28)
- 2.8.1 (2023-01-20)
- 2.8.0 (2023-01-10)
- 2.7.0 (2022-12-14)
- 2.6.4 (2022-10-07)
- 2.6.3 (2022-10-03)
- 2.6.2 (2022-08-16)
- 2.6.1 (2022-07-14)
- 2.6.0 (2022-07-12)
- 2.5.1 (2022-06-03)
- 2.5.0 (2022-05-17)
- 2.4.1 (2022-03-05)
- 2.4.0 (2022-02-24)
- 2.3.0 (2021-09-24)
- 2.2.1 (2021-07-26)
- 2.2.0 (2021-07-07)
- 2.1.0 (2021-06-16)
- 2.0.2 (2021-02-05)
- 2.0.1 (2020-09-10)
- 2.0.0 (2020-09-10)
- 1.0.0 (2020-02-28)
- 0.3.1 (2020-02-06)
- 0.3.0
- 0.2.0
- 0.1.0