Metadata-Version: 2.4
Name: gpu-tool
Version: 0.1.1
Summary: GPUBridge CLI — submit and monitor GPU jobs from your terminal.
Author-email: Amruth Vamshi <battaamruth1@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/LIU-CS-691/gpu-bridge
Project-URL: Repository, https://github.com/LIU-CS-691/gpu-bridge
Project-URL: Issues, https://github.com/LIU-CS-691/gpu-bridge/issues
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: typer>=0.12.5
Requires-Dist: httpx>=0.27.2
Requires-Dist: python-dotenv>=1.0.0

# gpu-tool

CLI for [GPUBridge](https://github.com/LIU-CS-691/gpu-bridge) — submit and monitor GPU jobs from your terminal.

## Install

```bash
pip install gpu-tool
```

## Quick Start

```bash
# Login with your invite token (get one from your admin)
gpu-tool login <invite_token>

# Check connection
gpu-tool health

# Submit a job
gpu-tool job-create --image my-training-image --cmd "python train.py"

# Watch logs stream in real-time
gpu-tool job-logs --job-id <JOB_ID> --follow
```

## Commands

| Command | Description |
|---|---|
| `login <token>` | Authenticate with an invite token |
| `health` | Check controller connection |
| `workers` | List GPU workers and their status |
| `jobs` | List jobs (filter with `--status`, `--gpu-id`) |
| `job-create` | Submit a new job |
| `job-get` | Get job details |
| `job-logs` | Fetch job logs (`--follow` for streaming) |
