Metadata-Version: 2.4
Name: qork
Version: 0.0.2
Summary: A simple CLI for interacting with OpenAI models.
Author-email: Zubin Aysola <zubinpersonalemail@email.com>
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: litellm
Requires-Dist: rich

# qork

A simple, beautiful, and powerful CLI for interacting with LLMs.

## Installation

```bash
pip install qork
```

## Usage

```bash
qork "Your prompt here"
```

### Streaming

For a more interactive experience, you can stream the response from the model:

```bash
qork "Tell me a story." --stream
```

### Debug Mode

To see token usage and cost information, use the `-d` or `--debug` flag:

```bash
qork "What is the capital of Japan?" -d
```

This will display a panel with the following information:

```
Model: gpt-4.1-mini | Cost: $0.000012 | Total Tokens: 23 [ Input: 15 || Completion: 8 ]
```

### Selecting a Model

You can specify a model using the `-m` or `--model` flag:

```bash
qork "Translate 'hello' to French." --model gpt-4o
```

You can also set the `QORK_MODEL` environment variable to change the default model.
