In order to use this library, you first need to go through the following steps:
- Install pip package -
`pip install clearblade-cloud-iot`
- Set an environment variable CLEARBLADE_CONFIGURATION which should point to your clearblade service account json file.
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 live in the samples/clearblade folder.
Our client libraries are compatible with all current active and maintenance versions of Python.
Python >= 3.7
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.
pip install virtualenv
virtualenv <your-env>
source <your-env>/bin/activate
pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
- clone the github repository.
- and execute the setup.py file like , python setup.py install.
- mostly if you change you imports from from google.cloud to clearblade.cloud everything else should work.