{"repo":"runpod/runpod-python","free":true,"listed":false,"github":"https://github.com/runpod/runpod-python","clone":"git clone https://github.com/runpod/runpod-python.git","description":"🐍 | Python library for Runpod API and serverless worker SDK.","language":"Python","stars":308,"topics":["api","artificial-intelligence","cloud-gpu","gpu","machine-learning","runpod","sdk-python","serverless"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Runpod Python Library &nbsp; &nbsp; Welcome to the official Python library for Runpod API &amp; SDK. Table of Contents - Table of Contents - 💻 Installation - ⚡ Serverless Worker (SDK) - Quick Start - Local Test Worker - 📚 API Language Library (GraphQL Wrapper) - Endpoints - GPU Cloud (Pods) - 📁 Directory - 🤝 Community and Contributing 💻 Installation Install from PyPI (Stable Release) Install from GitHub (Latest Changes) To get the latest changes that haven't been released to PyPI yet: 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: 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 or by setting it as the default command in your Dockerfile. See our blog post for creating a basic Serverless API, or view the details docs 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. Worker Fitness Checks Fitness checks allow you to validate your worker environment at startup before processi","default_branch":null,"files":null,"tree":[],"storefront":"/r/runpod","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/runpod/runpod-python/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}