Emoji for Python. This project was inspired by kyokomi.
Example
import emoji
print(emoji.emojize('Water! :water_wave:'))
Water! 🌊
print(emoji.decode('🌊')) # for Python 3.x
:water_wave:
print(emoji.decode(u'🌊')) # for Python 2.x
:water_wave:
Installation
Via pip:
$ pip install emoji --upgrade
From master branch:
$ git clone https://github.com/carpedm20/emoji.git
$ cd emoji
$ python setup.py install
Developing
$ git clone https://github.com/carpedm20/emoji.git
$ cd emoji
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements-dev.txt -e .
$ nosetests --with-coverage
License
See LICENSE.txt.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
emoji-0.2.tar.gz
(17.8 kB
view details)
File details
Details for the file emoji-0.2.tar.gz.
File metadata
- Download URL: emoji-0.2.tar.gz
- Upload date:
- Size: 17.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bff13e43c2fba52ba3779092b14faaef2ba322e4b4db38a0cf5081f76266b638
|
|
| MD5 |
bd2276578c642fb56910ea73f8907990
|
|
| BLAKE2b-256 |
ac261bf7dfe284d92e0902611a3b292da1ce3d8cabb4dd791be60e4c824a1a60
|