Metadata-Version: 2.4
Name: kubetorch
Version: 0.2.7
Summary: A Fast, Pythonic, 'Serverless' Interface for Running ML Workloads on Kubernetes
License: Apache 2.0
Author: Runhouse Team
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: Apache Software License
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Distributed Computing
Provides-Extra: client
Provides-Extra: docs
Provides-Extra: otel
Provides-Extra: server
Requires-Dist: fastapi ; extra == "server"
Requires-Dist: httpx (>=0.28.0,<0.29.0)
Requires-Dist: jinja2 (>=3.0)
Requires-Dist: kubernetes (>=20.0.0,!=32.0.0)
Requires-Dist: myst-parser ; extra == "docs"
Requires-Dist: opentelemetry-api ; extra == "otel"
Requires-Dist: opentelemetry-distro ; extra == "otel"
Requires-Dist: opentelemetry-exporter-otlp ; extra == "otel"
Requires-Dist: opentelemetry-exporter-prometheus ; extra == "otel"
Requires-Dist: opentelemetry-instrumentation ; extra == "otel"
Requires-Dist: opentelemetry-instrumentation-fastapi ; extra == "otel"
Requires-Dist: opentelemetry-instrumentation-logging ; extra == "otel"
Requires-Dist: opentelemetry-instrumentation-requests ; extra == "otel"
Requires-Dist: opentelemetry-sdk ; extra == "otel"
Requires-Dist: prometheus-client ; extra == "otel"
Requires-Dist: pydantic (>=2.5.0)
Requires-Dist: python-json-logger ; extra == "server"
Requires-Dist: pyyaml (>=6.0,<7.0)
Requires-Dist: requests (>=2.32.0,<3.0.0)
Requires-Dist: rich ; extra == "server" or extra == "client"
Requires-Dist: sphinx ; extra == "docs"
Requires-Dist: sphinx-autodoc-typehints ; extra == "docs"
Requires-Dist: sphinx-book-theme ; extra == "docs"
Requires-Dist: typer ; extra == "server" or extra == "client"
Requires-Dist: uvicorn[standard] ; extra == "server"
Requires-Dist: web-pdb ; extra == "server"
Requires-Dist: websockets (>=15.0,<16.0)
Project-URL: Documentation, https://www.run.house/kubetorch/introduction
Project-URL: Homepage, https://run.house
Project-URL: Repository, https://github.com/run-house/kubetorch
Description-Content-Type: text/markdown

# 📦Kubetorch🔥

**A Fast, Pythonic, "Serverless" Interface for Running ML Workloads on Kubernetes**

Kubetorch lets you programmatically build, iterate, and deploy ML applications on Kubernetes at any scale - directly from Python.

It brings your cluster's compute power into your local development environment, enabling extremely fast iteration (1-2 seconds). Logs, exceptions, and hardware faults are automatically propagated back to you in real-time.

Since Kubetorch has no local runtime or code serialization, you can access large-scale cluster compute from any Python environment - your IDE, notebooks, CI pipelines, or production code - just like you would use a local process pool.

## What Kubetorch Enables

- **100x faster iteration** from 10+ minutes to 1-3 seconds for complex ML applications like RL and distributed training
- **50%+ compute cost savings** through intelligent resource allocation, bin-packing, and dynamic scaling
- **95% fewer production faults** with built-in fault handling with programmatic error recovery and resource adjustment

---

[Apache 2.0 License](https://github.com/run-house/runhouse/blob/main/LICENSE)

**🏃‍♀️ Built by [Runhouse](https://www.run.house) 🏠**

