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.7+. 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
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
rapyuta_io-1.11.1.tar.gz
(84.9 kB
view hashes)
Built Distribution
rapyuta_io-1.11.1-py3-none-any.whl
(101.4 kB
view hashes)
Close
Hashes for rapyuta_io-1.11.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80da414b02cf277c6d2d9a7783eda5e420a321dcff142e2288228d86d5a19815 |
|
MD5 | 60ef3568d5706687b97c36a64791d239 |
|
BLAKE2b-256 | 2dfea37e616d094a13a41f5fcac924bb4d2024b8fe8b47aa6763f011320d970b |