<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.9.2 (latest)](https://docs.cloud.google.com/python/docs/reference/cloudiot/latest)
- [2.9.1](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.9.1)
- [2.8.1](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.8.1)
- [2.7.0](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.7.0)
- [2.6.4](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.6.4)
- [2.5.1](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.5.1)
- [2.4.1](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.4.1)
- [2.3.0](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.3.0)
- [2.2.1](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.2.1)
- [2.1.0](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.1.0)
- [2.0.2](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.0.2)
- [1.0.2](https://docs.cloud.google.com/python/docs/reference/cloudiot/1.0.2)
- [0.3.3](https://docs.cloud.google.com/python/docs/reference/cloudiot/0.3.3)

# Python Client for Google Cloud Internet of Things (IoT) Core API

[](https://github.com/googleapis/google-cloud-python/blob/main/README.rst#stability-levels) [](https://pypi.org/project/google-cloud-iot/) [](https://pypi.org/project/google-cloud-iot/)

[Google Cloud Internet of Things (IoT) Core API](https://cloud.google.com/iot): 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.

- [Client Library Documentation](https://cloud.google.com/python/docs/reference/cloudiot/latest)

- [Product Documentation](https://cloud.google.com/iot)

## Quick Start

In order to use this library, you first need to go through the following steps:

1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)

2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)

3. [Enable the Google Cloud Internet of Things (IoT) Core API.](https://cloud.google.com/iot)

4. [Setup Authentication.](https://googleapis.dev/python/google-api-core/latest/auth.html)

### Installation

Install this library in a [virtualenv](https://virtualenv.pypa.io/en/latest/) using pip. [virtualenv](https://virtualenv.pypa.io/en/latest/) is a tool to
create isolated Python environments. The basic problem it addresses is one of
dependencies and versions, and indirectly permissions.

With [virtualenv](https://virtualenv.pypa.io/en/latest/), 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](https://devguide.python.org/devcycle/#in-development-main-branch) and [maintenance](https://devguide.python.org/devcycle/#maintenance-branches) versions of
Python.

Python \>= 3.7

#### Unsupported Python Versions

Python \<= 3.6

If you are using an [end-of-life](https://devguide.python.org/devcycle/#end-of-life-branches)
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](https://cloud.google.com/python/docs/reference/cloudiot/latest) 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](https://cloud.google.com/iot) to learn
  more about the product and see How-to Guides.

- View this [README](https://github.com/googleapis/google-cloud-python/blob/main/README.rst) to see the full list of Cloud
  APIs that we cover.