Skip to main content

Emoji for Python

Project description

https://pypip.in/v/emoji/badge.png?style=flat https://pypip.in/d/emoji/badge.png?style=flat https://pypip.in/status/emoji/badge.svg?style=flat https://pypip.in/license/emoji/badge.svg?style=flat

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:
https://raw.githubusercontent.com/carpedm20/emoji/master/demo/demo.png

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.

Authors

Taehoon Kim / @carpedm20

Kevin Wurster / @geowurster

Project details


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page