Get started with the Anyscale SDK
Get started with the Anyscale SDK
This page provides an introduction to working with the Anyscale Python SDK. See Anyscale Python SDK overview.
1. Install the Python SDK
Anyscale packages the Python SDK with the Anyscale CLI. Use the following command to install the latest version of the Anyscale CLI and SDK:
pip install -U anyscale
2. Authentication
The Python SDK uses an API key to authenticate to Anyscale. See Manage API keys.
Run the following Anyscale CLI command to authenticate to your organization:
anyscale login
API keys issued by anyscale login
expire after 7 days.
caution
Be sure to keep your API key private and secure to prevent unwanted access to your Anyscale resources.