Skip to main content

Rapyuta.io Python SDK

Project description

Rapyuta.io Python SDK

Rapyuta.io Python SDK enables you to access platform services and resources in your python applications.

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

Install

The SDK is distributed through PyPi index, and can be installed directly using pip.

pip install rapyuta-io

To install the SDK from source, clone the repository and from the root of the directory, run the following command.

pip install .

Development

This project uses uv for dependency management.

uv sync

To install with dev dependencies:

uv sync --dev

Getting Started

Before using the SDK, you need the Rapyuta Token. You can get it from here.

from rapyuta_io import Client

TOKEN = "RAPYUTA_TOKEN"


client = rapyuta_io.Client(TOKEN)

# Create a Project and use it
from rapyuta_io import Project

project = client.create_project(Project("python-sdk"))
client.set_project(project.guid)

SDK Test

RIO_CONFIG environment variable pointing to the config.json must be sourced to run the sdk integration test. The sample config is present in sdk_test directory. Run run_rio_sdk_test.py to start the sdk tests.

Currently only one docker compose device is needed to be created and added to the config, SDK Test will add the device to the newly created project and onboard it and run tests.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rapyuta_io-3.1.0.tar.gz (670.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rapyuta_io-3.1.0-py3-none-any.whl (54.8 kB view details)

Uploaded Python 3

File details

Details for the file rapyuta_io-3.1.0.tar.gz.

File metadata

  • Download URL: rapyuta_io-3.1.0.tar.gz
  • Upload date:
  • Size: 670.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for rapyuta_io-3.1.0.tar.gz
Algorithm Hash digest
SHA256 00b64870588988901021d2ddc8a875082090d310a9dad10da072288f16df6a38
MD5 9798ad785bd4249e9fc8c0a53afe7315
BLAKE2b-256 749bc032f7dae66683ba8e04f4592348cdd658744a02e73dab6d0926be16d939

See more details on using hashes here.

File details

Details for the file rapyuta_io-3.1.0-py3-none-any.whl.

File metadata

  • Download URL: rapyuta_io-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 54.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for rapyuta_io-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 026b4f5012946fdbbffd1faeb0edb28d95055339fea924b138dcb3f088d5978d
MD5 bdca88967ab7d3c97e242df3859bce57
BLAKE2b-256 7aa9b0216f73ca8204ed953ea16f42cdfde6c71ea0cd61a173dabff69fd4cad4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page