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

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)

# Create a Build
from rapyuta_io import Build, StrategyType, DeviceArch

client.create_build(
    Build(
        "dummy",
        StrategyType.DOCKER,
        "https://github.com/ankitrgadiya/dummy-package",
        DeviceArch.AMD64,
    )
)

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-1.13.0.tar.gz (84.5 kB view hashes)

Uploaded Source

Built Distribution

rapyuta_io-1.13.0-py3-none-any.whl (101.1 kB view hashes)

Uploaded Python 3

Supported by

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