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.8+. 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, you can use the setup.py
script directly.
Clone the repository and from the root of the directory, run the following
command.
python setup.py install
Development
Create a python virtual environment, having version less than 3.11
pipenv install --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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file rapyuta_io-2.1.1.tar.gz
.
File metadata
- Download URL: rapyuta_io-2.1.1.tar.gz
- Upload date:
- Size: 51.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddb1b60f6982f2628f6ec37f3a5e15b0cad6b0f9a0b461c3425c529da34e5c19 |
|
MD5 | 34a894a659ea965089d6891501679f7b |
|
BLAKE2b-256 | 17abdee990947ba02dbeaf8abf1b051ce7db0a9a5d2f846b7ab4512b3014ab1f |
File details
Details for the file rapyuta_io-2.1.1-py3-none-any.whl
.
File metadata
- Download URL: rapyuta_io-2.1.1-py3-none-any.whl
- Upload date:
- Size: 60.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f9b6fa067efd4ff1801eaa2b65c36f5ddeabef722f8c3b2d4b0b428dca1a708 |
|
MD5 | 1a7e98c11cbfd4b5e2f107f8348c6619 |
|
BLAKE2b-256 | 91b3c58a2f7f161495891ccabf2fc872e72a53b7637efc07066e6690cc93476d |