https://github.com/anistark/paichat
CLI Tool to access OpenAI text completion and more...
https://github.com/anistark/paichat
cli openai python typer
Last synced: about 2 months ago
JSON representation
CLI Tool to access OpenAI text completion and more...
- Host: GitHub
- URL: https://github.com/anistark/paichat
- Owner: anistark
- License: mit
- Created: 2023-01-23T03:58:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-05T14:57:43.000Z (over 3 years ago)
- Last Synced: 2025-10-14T06:15:58.418Z (9 months ago)
- Topics: cli, openai, python, typer
- Language: Python
- Homepage: https://pypi.org/project/paichat/
- Size: 32.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Python Open AI CLI Client [Un-official]
Published on pypi: https://pypi.org/project/paichat/
  
Supported 
A Terminal Tool in Python
## Prerequisites
- `pipx`. If you don't have pipx installed, you can install like this:
- `python3 -m pip install --user pipx`
- `python3 -m pipx ensurepath`
- You'll also need to have your own OpenAi apikey:
- Go to https://beta.openai.com/
- Select you profile menu and go to Manage API Keys
- Select + Create new secret key
- Copy generated key
## Install:
`pipx install paichat`
## Usage:
`paichat --help`
```sh
Usage: paichat [OPTIONS]
╭─ Options ───────────────────────────────────────╮
│ --help Show this message and exit. │
╰─────────────────────────────────────────────────╯
```
## Contribute:

### Dev:
Start a virtualenv using poetry: `poetry shell`
If `poetry shell` does not activate the virtualenv, then use this:
`source $(poetry env info --path)/bin/activate`
When you're done, exit virtualenv shell: `deactivate`