Синхронная библиотека для работы с ChatGPT с историей сессии
Project description
chatinpylib
Простая библиотека для работы с ChatGPT.
Установка
pip install cmatlib==0.1.0
Пример использования
from chatinpylib import Chat
chat = Chat(token="YourToken")
condition = True
while condition:
user_request = input('Введите свой запрос:')
print(chat.ask(user_request))
choice = input('Вы хотите продолжить? y/n:')
if choice == 'y':
condition = True
elif choice == 'n':
condition = False
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cmatlib-0.1.1.tar.gz
(2.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cmatlib-0.1.1.tar.gz.
File metadata
- Download URL: cmatlib-0.1.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab84e6d5a304f1b0245c1b275533b922acc10dc2604d0813497b68a8e7b10b50
|
|
| MD5 |
37dcee4cc37acdfec7cdd02bbc1afca1
|
|
| BLAKE2b-256 |
b8faf67125cee72a0787c7f802b89ad7598ef3ef97b992215ecbc8d9b27e39cd
|
File details
Details for the file cmatlib-0.1.1-py3-none-any.whl.
File metadata
- Download URL: cmatlib-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a9f682c03cf779ec389963a4746a1bdc4cc0c3b792bd595ccac1517953dcdbb
|
|
| MD5 |
c619d9de1140fb2fdfc30efc6e3b0eb7
|
|
| BLAKE2b-256 |
af8741bc884ed13564f58f0e9baefd20264a8c3855d8219f1b4a1d0eb45303e9
|