Metadata-Version: 2.4
Name: rapyuta-io
Version: 3.1.0
Summary: Rapyuta.io Python SDK
Author-email: Rapyuta Robotics <opensource@rapyuta-robotics.com>
License-Expression: Apache-2.0
License-File: LICENSE
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.10
Requires-Dist: azure-storage-blob>=12.20.0
Requires-Dist: python-dateutil>=2.8.2
Requires-Dist: pytz
Requires-Dist: pyyaml>=5.4.1
Requires-Dist: requests>=2.20.0
Requires-Dist: setuptools
Requires-Dist: six>=1.16.0
Requires-Dist: urllib3>=1.23
Provides-Extra: dev
Requires-Dist: furo; extra == 'dev'
Requires-Dist: sphinx; extra == 'dev'
Provides-Extra: docs
Requires-Dist: furo; extra == 'docs'
Requires-Dist: pytz; extra == 'docs'
Requires-Dist: sphinx; extra == 'docs'
Requires-Dist: tzdata; extra == 'docs'
Provides-Extra: test
Requires-Dist: mock; extra == 'test'
Requires-Dist: pyfakefs; extra == 'test'
Requires-Dist: testtools; extra == 'test'
Description-Content-Type: text/markdown

# 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](https://pypi.org/project/rapyuta-io/#history) from Pypi.

## Install

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

```bash
pip install rapyuta-io
```

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

``` bash
pip install .
```

## Development

This project uses [uv](https://docs.astral.sh/uv/) for dependency management.

```bash
uv sync
```

To install with dev dependencies:

```bash
uv sync --dev
```

## Getting Started

Before using the SDK, you need the Rapyuta Token. You can get it from
[here](https://auth.rapyuta.io/authToken/).

``` python
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.

