easychatgpt-0.0.8
توضیحات
An unofficial yet elegant interface of the ChatGPT API using browser automation that bypasses cloudflare detection and recaptchas.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | easychatgpt-0.0.8 |
| نام | easychatgpt |
| نسخه کتابخانه | 0.0.8 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | LanLan |
| ایمیل نویسنده | 3281448091@proton.me |
| آدرس صفحه اصلی | https://github.com/acheong08/ChatGPT |
| آدرس اینترنتی | https://pypi.org/project/easychatgpt/ |
| مجوز | GNU General Public License v2.0 |
# EasyChatGPT
[](https://www.gnu.org/licenses/gpl-3.0)[](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)[](https://www.python.org/)
An unofficial yet elegant interface of the ChatGPT API using browser automation that bypasses cloudflare detection and recaptchas.
## Features
- [x] Bypass Cloudflare's anti-bot protection using `undetected_chromedriver`
- [x] Complementary and fast Audio Recaptcha solver using the `pypasser` library.
## Installation
You must **install** ffmpeg and ffprobe on your machine before running.
[Install On Windows](https://phoenixnap.com/kb/ffmpeg-windows)\
[Install On Linux](https://www.golinuxcloud.com/ubuntu-install-ffprobe/)\
[Install On MacOS](https://bbc.github.io/bbcat-orchestration-docs/installation-mac-manual/)
Install the official easyChatGPT package
```bash
pip install easychatgpt
```
## Environment Variables
To run this project, you will need to add the following environment variables to your .env file
`OPENAI_EMAIL`
`OPENAI_PASSWORD`
Copy the .env file and put in your openai email and password
```
cp .env.example .env
```
## Usage / Demo
Simple Usage
```python
from easychatgpt import ChatClient
import os
from dotenv import load_dotenv
load_dotenv()
OPENAI_EMAIL = os.getenv("OPENAI_EMAIL")
OPENAI_PASSWORD = os.getenv("OPENAI_PASSWORD")
chat = ChatClient(OPENAI_EMAIL,OPENAI_PASSWORD)
answer = chat.interact("Introduce your self")
print(answer)
```
[More examples to look at](https://github.com/LanLan69/easyChatGPT/tree/main/examples)
## Acknowledgement
[ChatGPT_Selenium](https://github.com/ugorsahin/ChatGPT_Selenium)\
[PyPasser](https://github.com/xHossein/PyPasser)
نیازمندی
| مقدار | نام |
|---|---|
| ~=4.7.2 | selenium |
| ~=3.1.7 | undetected-chromedriver |
| - | pypasser |
| - | pocketsphinx |
نحوه نصب
نصب پکیج whl easychatgpt-0.0.8:
pip install easychatgpt-0.0.8.whl
نصب پکیج tar.gz easychatgpt-0.0.8:
pip install easychatgpt-0.0.8.tar.gz