emojichat-0.0.1
توضیحات
Chat with emojis
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | emojichat-0.0.1 |
| نام | emojichat |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Zecheng Zhang |
| ایمیل نویسنده | zechengzhang97@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/emojichat/ |
| مجوز | - |
# Emoji Chat
Chat by emojis with the help of ChatGPT 😊
Emoji Chat (**emojichat**) is a Python package that leverages the capabilities of GPTs such as
ChatGPT to transform text into emojis or generate sentences from emojis.
It provides easy-to-use functions that allow users to easily convert their text
to emojis or generate emoji-based sentences with just one line of code.
With Emoji Chat, users can add creativity to their chat messages or social media posts.
It is a good tool for anyone looking to add some fun and creativity to their text.
## Emojize
Emojize text to emojis.
```python
import openai
from emojichat import emojize
openai.api_key = "YOUR-API-KEY"
content = "I am ok in the morning, but feel bad at night."
emojize(content, temperature=0)
# "🙂🌅➡️😔🌃"
content = "I ate some pizza tonight."
emojize(content, temperature=0)
# "🍕🌃🍽️"
```
## Demojize
Generate paragraph from any emojis.
```python
import openai
from emojichat import demojize
openai.api_key = "YOUR-API-KEY"
content = "🥱🚴➡️😊🛁️"
demojize(content, temperature=0)
# "I feel tired while cycling, but happy after taking a bath."
content = "I 🚴 last year in 🇨🇳"
demojize(content, temperature=0)
# "I cycled last year in China."
```
For more details please try these [examples](https://github.com/emojichat-team/emojichat/tree/main/examples) 😄
## Contribution
Welcome all kinds of contribution!
For more details please refer to [CONTRIBUTING.md](https://github.com/emojichat-team/emojichat/blob/main/CONTRIBUTING.md)
نیازمندی
| مقدار | نام |
|---|---|
| - | pytest |
| - | pre-commit |
| - | openai |
| - | tqdm |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl emojichat-0.0.1:
pip install emojichat-0.0.1.whl
نصب پکیج tar.gz emojichat-0.0.1:
pip install emojichat-0.0.1.tar.gz