Metadata-Version: 2.1
Name: gpyt
Version: 0.2.2
Summary: GPT on the command line.
Author: Justin Stitt
Author-email: jstitt007@gmail.com
Requires-Python: >=3.11,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: openai (>=0.27.5,<0.28.0)
Requires-Dist: openai-async (>=0.0.3,<0.0.4)
Requires-Dist: pyperclip (>=1.8.2,<2.0.0)
Requires-Dist: python-dotenv (>=1.0.0,<2.0.0)
Requires-Dist: textual[dev] (>=0.22.3,<0.23.0)
Description-Content-Type: text/markdown

# gpyt

Interact with GPT on the command line.

> WIP


## Demo

![gpyt demo](./media/gpyt-show-1.gif)

Uses [Textual](https://textual.textualize.io).


### How to run:
```sh
$ pip install gpyt

add `OPENAI_API_KEY="<your_openai_api_key>"` in a `.env` at $HOME or `export OPENAI_API_KEY=<your_key>`

$ python -m gpyt
```

### Desired Features

* `copy` to copy GPT's response to clipboard
* add gpt jailbreaks (DAN-esque)
* `new` to start a new chat (clear all history and console window)
* store chat logs somewhere.
* add special flags like -t (terse) or -v (verbose) or -d (detailed) or -i
  (informal) or -f (for file input) or --dan (for jailbreak)
* scrolling text (adjustable speed, or disable all together)
* use streams api?
* model select CLI
* add API_KEY from CLI


### Completed Features

[x] loading wheel
[x] textual !!!

