Help us make these docs great!

All rapyuta.io docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Using rapyuta.io Python SDK

rapyuta.io Python SDK enables you to provision packages either on the cloud or on a device. Add a dependent deployment, and access various rapyuta.io resources and services in your python applications.

Installation

It is recommended you install the latest Python SDK using pip (the most popular tool for installing python packages).

pip install rapyuta-io

If you are using an old version of the Python SDK, please upgrade to the latest version.

For python client for rapyuta.io, click here

Requirements

The Python SDK supports Python 3.6+. For older Python 2.x support, you can use the 0.x.x releases from Pypi.

Auth Token

To determine the auth token:

  1. In the rapyuta.io console, select the username at the top right corner.
  2. Click Get Auth Token.
  3. Enter the password.
  4. Click COPY to copy the auth token

Get Auth Token

Device ID

To determine the unique identifier of the device on-boarded on to rapyuta.io:

  1. In the rapyuta.io console, on the left navigation bar, click Devices .
  2. Select the device whose identifier you want to obtain.
  3. Copy the device’s ID as shown in the figure.

Find device ID

Project ID

To determine the project’s unique identifier in rapyuta.io:

  1. In the rapyuta.io console, on the left navigation bar, click Projects.
  2. Select the project whose identifier you want to obtain.
  3. Copy the project’s ID as shown in the figure.

Find project ID

Organization ID

To determine the organization’s unique identifier in rapyuta.io:

  1. In the rapyuta.io console, on the left navigation bar, click Account > Organization.
  2. Copy the organization ID as shown in the figure.

Find organization ID

Package ID

To determine the package’s unique identifier in rapyuta.io:

  1. In the rapyuta.io console, on the left navigation bar, click Development > Package.
  2. Select the package whose ID you want to obtain.
  3. Copy the package’s ID as shown in the figure.

Find package id

Plan ID

To determine a package’s plan id in rapyuta.io:

  1. In the rapyuta.io console, on the left navigation bar, click Development > Catalogs.
  2. Select the package whose plan ID you want to obtain.
  3. Under Plans, copy the value of default.

Find plan id

SDK reference

For more detailed information about any class in the SDK, see full SDK reference.

Tutorial : Python SDK : Publisher Subsciber