Metadata-Version: 2.1
Name: shellm
Version: 0.4.1
Summary: 
Author: Gabriel Altay
Author-email: gabriel.altay@gmail.com
Requires-Python: >=3.9
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: openai (>=0.28.0,<0.29.0)
Requires-Dist: pydantic (>=2.3.0,<3.0.0)
Requires-Dist: typer[all] (>=0.9.0,<0.10.0)
Description-Content-Type: text/markdown

# shellm

Use OpenAI LLMs from the command line.

# Quick Start

Install
```bash
pip install shellm
```

Export OpenAI key
```bash
export OPENAI_API_KEY=sk-...
```

View commands
```bash
shellm --help
```

## Completions

View completion help
```bash
shellm completion --help
```

Create a simple completion
```bash
shellm completion --prompt "Once upon a time" --max-tokens 128 --stream --echo
```

## Chat

View chat help
```bash
shellm chat --help
```

Create a simple chat completion
```bash
shellm chat --user-message "Tell me a story" --stream --max-tokens 128
```

