We provide a client library to programmatically interact with CentML Platform either through command line or using Python SDK.Use the following command to install centml client.
Copy
Ask AI
pip install centml
Run the following command to login to CentML using the client credentials.
Copy
Ask AI
centml login
The first time, you’ll be prompted to login to your Platform account through a browser. Once logged in, you are all set to use CentML client. You can use centml CLI command to list your deployments.
Copy
Ask AI
centml cluster ls# Alternatively, as a shorthandccluster ls
Checkout other supported commands,
Copy
Ask AI
ccluster --helpUsage: ccluster [OPTIONS] COMMAND [ARGS]... CentML cluster CLI toolOptions: --help Show this message and exit.Commands: delete Delete a deployment get Get deployment details ls List all deployments pause Pause a deployment resume Resume a deployment