Emoji for Python
Project description
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.
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
emoji-0.2.tar.gz
(17.8 kB
view hashes)