|
13 | 13 |
|
14 | 14 | </div> |
15 | 15 |
|
16 | | -Official Python library for RunPod API & SDK. |
| 16 | +Welcome to the official Python library for RunPod API & SDK. |
17 | 17 |
|
18 | 18 | ## Table of Contents |
19 | 19 |
|
20 | 20 | - [Table of Contents](#table-of-contents) |
21 | | -- [Installation](#installation) |
22 | | -- [SDK - Serverless Worker](#sdk---serverless-worker) |
| 21 | +- [💻 | Installation](#--installation) |
| 22 | +- [⚡ | Serverless Worker (SDK)](#--serverless-worker-sdk) |
23 | 23 | - [Quick Start](#quick-start) |
24 | 24 | - [Local Test Worker](#local-test-worker) |
25 | | -- [API Language Library (GraphQL Wrapper)](#api-language-library-graphql-wrapper) |
| 25 | +- [📚 | API Language Library (GraphQL Wrapper)](#--api-language-library-graphql-wrapper) |
26 | 26 | - [Endpoints](#endpoints) |
27 | 27 | - [GPU Cloud (Pods)](#gpu-cloud-pods) |
28 | | -- [Directory](#directory) |
29 | | -- [Community and Contributing](#community-and-contributing) |
| 28 | +- [📁 | Directory](#--directory) |
| 29 | +- [🤝 | Community and Contributing](#--community-and-contributing) |
30 | 30 |
|
31 | | -## Installation |
| 31 | +## 💻 | Installation |
32 | 32 |
|
33 | 33 | ```bash |
34 | 34 | # Install the latest release version |
35 | 35 | pip install runpod |
36 | 36 |
|
| 37 | +# or |
| 38 | + |
37 | 39 | # Install the latest development version (main branch) |
38 | 40 | pip install git+https://github.com/runpod/runpod-python.git |
39 | 41 | ``` |
40 | 42 |
|
41 | | -## SDK - Serverless Worker |
| 43 | +*Python 3.10 or higher is required to use the latest version of this package.* |
| 44 | + |
| 45 | +## ⚡ | Serverless Worker (SDK) |
42 | 46 |
|
43 | 47 | This python package can also be used to create a serverless worker that can be deployed to RunPod as a custom endpoint API. |
44 | 48 |
|
@@ -79,7 +83,7 @@ You can also test your worker locally before deploying it to RunPod. This is use |
79 | 83 | python my_worker.py --rp_serve_api |
80 | 84 | ``` |
81 | 85 |
|
82 | | -## API Language Library (GraphQL Wrapper) |
| 86 | +## 📚 | API Language Library (GraphQL Wrapper) |
83 | 87 |
|
84 | 88 | When interacting with the RunPod API you can use this library to make requests to the API. |
85 | 89 |
|
@@ -138,21 +142,21 @@ runpod.start_pod(pod.id) |
138 | 142 | runpod.terminate_pod(pod.id) |
139 | 143 | ``` |
140 | 144 |
|
141 | | -## Directory |
| 145 | +## 📁 | Directory |
142 | 146 |
|
143 | 147 | ```BASH |
144 | 148 | . |
145 | 149 | ├── docs # Documentation |
146 | 150 | ├── examples # Examples |
147 | 151 | ├── runpod # Package source code |
148 | 152 | │ ├── api_wrapper # Language library - API (GraphQL) |
149 | | -| ├── cli # Command Line Interface Functions |
| 153 | +│ ├── cli # Command Line Interface Functions |
150 | 154 | │ ├── endpoint # Language library - Endpoints |
151 | 155 | │ └── serverless # SDK - Serverless Worker |
152 | 156 | └── tests # Package tests |
153 | 157 | ``` |
154 | 158 |
|
155 | | -## Community and Contributing |
| 159 | +## 🤝 | Community and Contributing |
156 | 160 |
|
157 | 161 | We welcome both pull requests and issues on [GitHub](https://github.com/runpod/runpod-python). Bug fixes and new features are encouraged. |
158 | 162 |
|
|
0 commit comments