Metadata-Version: 2.1
Name: pyChatGPT
Version: 0.0.3
Summary: An unofficial Python wrapper for OpenAI's ChatGPT API
Author-email: terry3041 <s71czbem@duck.com>
Project-URL: Homepage, https://github.com/terry3041/pyChatGPT
Project-URL: Bug Tracker, https://github.com/terry3041/pyChatGPT/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# pyChatGPT

An unofficial Python wrapper for OpenAI's ChatGPT API

## Getting Started

### Installation

```bash
pip install pyChatGPT
```

### Usage

#### Interactive mode

```bash
python -m pyChatGPT
```

#### Import as a module

```python
from pyChatGPT import ChatGPT

session_token = 'abc123'
api = ChatGPT(session_token)
resp = api.send_message('Hello, world!')
print(resp['message'])
```

### Insipration

This project is inspired by

-   [ChatGPT](https://github.com/acheong08/ChatGPT)
-   [chatgpt-api](https://github.com/transitive-bullshit/chatgpt-api)
