Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 619 Bytes

File metadata and controls

21 lines (14 loc) · 619 Bytes

Getting Started

The Runpod python library is a powerful library providing SDK functions, API access, and CLI commands for interacting with the Runpod platform.

Credentials File

This python library supports a credentials file saved to ~/.runpod/credentials.toml that contains the following information:

[profile]
api_key = "YOUR_RUNPOD_API_KEY"

Profile

By default, all credentials are stored under the default profile. To switch profiles you can use the --profile argument on CLI commands or change the profile within a script.

import runpod

runpod.profile = "my_profile"