Top AI Repos โ open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
๐ | Python library for Runpod API and serverless worker SDK.
| Date | Stars |
|---|---|
| 2026-07-24 | 304 |
| 2026-07-25 | 304 |
| 2026-07-28 | 304 |
| 2026-07-30 | 304 |
| 2026-08-06 | 304 |
Today
โ stars today
This week
โ stars this week
This month
โ stars this month
Momentum
35.0
growth rate 0.00%/day
<div align="center"> <h1>Runpod | Python Library </h1> [](https://badge.fury.io/py/runpod) [](https://pepy.tech/project/runpod) [](https://github.com/runpod/runpod-python/actions/workflows/CI-e2e.yml) [](https://github.com/runpod/runpod-python/actions/workflows/CI-pytests.yml) [](https://github.com/runpod/runpod-python/actions/workflows/CI-codeql.yml) </div> Welcome to the official Python library for Runpod API & SDK. ## Table of Contents - [Table of Contents](#table-of-contents) - [๐ป | Installation](#--installation) - [โก | Serverless Worker (SDK)](#--serverless-worker-sdk) - [Quick Start](#quick-start) - [Local Test Worker](#local-test-worker) - [๐ | API Language Library (GraphQL Wrapper)](#--api-language-library-graphql-wrapper) - [Endpoints](#endpoints) - [GPU Cloud (Pods)](#gpu-cloud-pods) - [๐ | Directory](#--directory) - [๐ค | Community and Contributing](#--community-and-contributing) ## ๐ป | Installation ### Install from PyPI (Stable Release) ```bash # Install with pip pip install runpod # Install with uv (faster alternative) uv add runpod ``` ### Install from GitHub (Latest Changes) To get the latest changes that haven't been released to PyPI yet: ```bash # Install latest development version from main branch with pip pip install git+https://github.com/runpod/runpod-python.git # Install with uv uv add git+https://github.com/runpod/runpod-python.git # Install a specific branch pip install git+https://github.com/runpod/runpod-python.git@branch-name # Install a specific tag/release pip install git+https://github.com/runpod/[email protected] # Install in editable mode for development git clone https://github.com/runpod/runpod-python.git cd runpod-python pip install -e . ``` *Python 3.10 or higher is required to use the latest version of this package.* ## โก | Serverless Worker (SDK) This python package can also be used to create a serverless worker that can be deployed to Runpod as a custom endpoint API. ### Quick Start Create a python script in your project that contains your model definition and the Runpod worker start code. Run this python code as your default container start command: ```python # my_worker.py import runpod def is_even(job): job_input = job["input"] the_number = job_input["number"] if not isinstance(the_number, int): return {"error": "Silly human, you need to pass an integer."} if the_number % 2 == 0: return True return False runpod.serverless.start({"handler": is_even}) ``` Make sure that this file is ran when your container starts. This can be accomplished by calling it in the docker command when you set up a template at [console.runpod.io/serverless/user/templates](https://console.runpod.io/serverless/user/templates) or by setting it as the default command in your Dockerfile. See our [blog post](https://www.runpod.io/blog/build-basic-serverless-api) for creating a basic Serverless API, or view the [details docs](https://docs.runpod.io/serverless-ai/custom-apis) for more information. ### Local Test Worker You can also test your worker locally before deploying it to Runpod. This is useful for debugging and testing. ```bash python my_worker.py --rp_serve_api ``` ### Worker Fitness Checks Fitness checks allow you to validate your worker environment at startup before processing jobs. If any check fails, the worker exits immediately, allowing your orchestrator to restart it. ```python # my
Excerpt of 9,357 characters
Read on GitHubWould you bet a product on this? Bounded 0โ100 and slow moving.
matched fp:926d14cc30e9dc66, topic:gpu, topic:serverless