Metadata-Version: 2.4
Name: blitz-cli
Version: 0.4.0
Summary: Developer CLI for Blitz: pull a workflow's training data + base-model recommendation and scaffold a runnable QLoRA training container.
License: MIT
License-File: LICENSE
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# blitz-cli

Developer CLI for [Blitz](https://github.com/sparepartslabs/blitz-sdk-py). Pull a
workflow's captured traces as a fine-tuning dataset, and scaffold a
self-contained, runnable QLoRA training container.

```bash
pip install blitz-cli

export BLITZ_API_KEY=blz_...   # a read-scoped project key (mint one in the dashboard)
blitz scaffold -p proj_abc -w mechanic-assistant -o ./train

cd train
make build && make train
```

`blitz scaffold` writes `./train` with `data/dataset.jsonl` and a `Dockerfile` +
`train.py` + `Makefile`. Bring your own NVIDIA GPU.

This package is intentionally dependency-free (stdlib + the Blitz HTTP API). The
heavy ML stack (torch / transformers / trl / peft) is pinned only in the
*generated* project's `requirements.txt`, installed inside the training image.
