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.6+. 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.6.0.tar.gz (82.7 kB view hashes)

Uploaded source

Built Distribution

rapyuta_io-1.6.0-py3-none-any.whl (98.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page