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
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.13.0.tar.gz
(84.5 kB
view hashes)
Built Distribution
rapyuta_io-1.13.0-py3-none-any.whl
(101.1 kB
view hashes)
Close
Hashes for rapyuta_io-1.13.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 717baa5c446222158e07daab93b5077d8a5e756c81b011865371a485a82b307f |
|
MD5 | 19391046b06eedc9454f9942655f76f8 |
|
BLAKE2b-256 | f4ab9da3511ba4d7cd192a711e181abcad41e127dcb326c234d4394ea25229a4 |