# 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
```
[](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
```
Metadata
Release files for emotlib 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| emotlib-1.0.1.tar.gz | 61.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| emotlib-1.0.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 124.3 kB
Release files / emotlib-1.0.1.tar.gz
| Download URL | emotlib-1.0.1.tar.gz |
|---|---|
| Size | 61.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76c7936c338604a81f14a567d76237046d6c6e9c8dce4b5f20d7f58a9852594a
|
|
BLAKE2b-256 checksum How to use checksums |
b068718dc221027ea4746303e7597bbf341b4a0dae8350faa951697154017765
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / emotlib-1.0.1-py2.py3-none-any.whl
| Download URL | emotlib-1.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 62.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ae22f0f6e13730feac274f68bd11e18144b680582b8cfa1c7424f2777135e5f1
|
|
BLAKE2b-256 checksum How to use checksums |
e80c84990d2ddc6d278859eb17c30e348742c736eb7d3986383bdeaec4b39d38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |