Get Started#
1. Install Coiled#
Install the Coiled client Python library with pip
or conda
.
pip install coiled "dask[complete]"
coiled login
This will redirect you to the Coiled website to authenticate your computer. It will also save your token on your computer (see API Tokens).
2. Enjoy ๐#
Your machine can easily create and manage cloud resources, and you can easily run Python code on those resources. Explore your code, metrics, and logs for your cluster at https://cloud.coiled.io.
# Create cluster of twenty machines
import coiled
cluster = coiled.Cluster(
n_workers=15,
)
client = cluster.get_client()
# Run a simple calculation
import dask
df = dask.datasets.timeseries("2000", "2005", partition_freq="2W").persist()
df.groupby("name").aggregate({"x": "sum", "y": "max"}).compute()
Now youโre ready to go! Next, check out more Dask Examples.