Python client library for Staroid cloud platform
Project description
Open data studio python library
Install
pip install ods
Quick start
Configuration
- Configure staroid
- Login staroid.com and create a SKE (Star Kubernetes engine) cluster.
import ods
ods.init(ske="kube-cluster-1") # ske is a name of kubernetes cluster
Get Spark cluster
spark = ods.spark("spark-1", worker_num=3).session() # create spark session with 3 initial worker nodes
df = spark.createDataFrame(....)
Get Dask cluster (Coming soon)
cluster = ods.dask("dask-1", worker_num=10)
from dask.distributed import Client
client = Client(cluster)
Get Ray cluster (Coming soon)
ods.ray(cluster_name="")
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
ods-0.0.2.tar.gz
(7.2 kB
view hashes)