emotlib-1.0.1
توضیحات
Python emoji + emoticon Library
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | emotlib-1.0.1 |
| نام | emotlib |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | steven5538 |
| ایمیل نویسنده | steven5538@gmail.com |
| آدرس صفحه اصلی | https://github.com/steven5538/emotlib |
| آدرس اینترنتی | https://pypi.org/project/emotlib/ |
| مجوز | MIT License |
# emotlib: Python emoji + emoticon Library
[](https://pypi.org/project/emotlib/)
[](https://pypi.org/project/emotlib/)
[](https://travis-ci.org/steven5538/emotlib)
[](https://coveralls.io/github/steven5538/emotlib)
[](http://emotlib.readthedocs.io/en/latest/)

Installation
------------
To install emotlib, simply use [pipenv](http://pipenv.org/) (or pip, of course):
```
$ pipenv install emotlib
🍩🎉
```
Satisfaction guaranteed.
Example
-------------
Note: In python2.x, your string need to be unicode. Ex: u'I\'m :elf:'
``` python
>> import emotlib
>> print(emotlib.emoji())
🧙
>> print(emotlib.emoji(category='food-fruit'))
🍉
>> print(emotlib.emoji(num=3))
👨🚀👨🚀👨🚀
>> print(emotlib.emoji(num=3, sep= ' ~ '))
🤸 ~ 🤸 ~ 🤸 ~
>> print(emotlib.emojify('I\'m :man_technologist:'))
I'm 👨💻
>> print(emotlib.emojify('I\'m :man~technologist:', alias='~'))
I'm 👨💻
>> print(emotlib.demojify('I\'m 👨💻'))
I'm :man_technologist:
>> print(emotlib.demojify('I\'m 👨💻', alias='~'))
I'm :man~technologist:
>> print(emotlib.emoticon())
( ´ ▽ ` )ノ
>> print(emotlib.emoticon(feel='confused'))
(´−`) ンー
>> print(emotlib.emoticon(num=3))
┌(★o☆)┘┌(★o☆)┘┌(★o☆)┘
>> print(emotlib.emoticon(num=3, sep=' ~ '))
(´∇ノ`*)ノ ~ (´∇ノ`*)ノ ~ (´∇ノ`*)ノ ~
>> print(emotlib.emoticonify('I\'m a happy developer.'))
I'm a happy developer. *(*´∀`*)☆
```
Check categories & feels
```python
>> import emotlib
>> emotlib.emoji_categories
>> emotlib.emoticon_feels
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.* | Python |
نحوه نصب
نصب پکیج whl emotlib-1.0.1:
pip install emotlib-1.0.1.whl
نصب پکیج tar.gz emotlib-1.0.1:
pip install emotlib-1.0.1.tar.gz