Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miscup/chatgptcli
The command line wrapper for ChatGPT. A Python wrapper for OpenAI's ChatGPT API - chatgptcli
https://github.com/miscup/chatgptcli
chatgpt chatgpt-api cli openai python
Last synced: about 1 month ago
JSON representation
The command line wrapper for ChatGPT. A Python wrapper for OpenAI's ChatGPT API - chatgptcli
- Host: GitHub
- URL: https://github.com/miscup/chatgptcli
- Owner: miscup
- Created: 2022-12-07T01:22:25.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-07T02:31:01.000Z (about 2 years ago)
- Last Synced: 2024-12-20T03:14:29.336Z (about 1 month ago)
- Topics: chatgpt, chatgpt-api, cli, openai, python
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# chatgptcli
The command line wrapper for ChatGPT[ChatGPT-PyPi](https://pypi.org/project/chatgptcli/)
## Install
```
pip install chatgptcli --upgrade
```## Terminal Chat
```python
from chatgptcli import ChatGPTChatGPT(email="email", password="password").chat()
```## Ask a Question
```python
from chatgptcli import ChatGPTchatGPT = ChatGPT(email="email", password="password")
print(chatGPT.ask("Write a rap song"))
```