This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Substitutes emoji aliases (like :sparkling_heart:) to emoji raw characters.

Project Description

Substitutes emoji aliases to emoji raw characters. Simple but sweet :smile:

Installation

$ pip install pyemojify

Usage

CLI

Use pyemojify -t text, for example:

$ pyemojify -t "Life is short :smile: , use :sparkles: Python :sparkles:"
Life is short 😄 , use ✨ Python ✨.

Pyemojify also support pipeline, for example:

$ echo "Life is short :smile: , use :sparkles: Python :sparkles:" | pyemojify
Life is short 😄 , use ✨ Python ✨.

This one is very useful for git commit messages, use the following one and you’ll see you emoji friends again!

$ git log --oneline --color | pyemojify | less

API

>>> from pyemojify import emojify
>>> text = emojify("Life is short :smile: , use :sparkles: Python :sparkles:")
>>> print(text)
Life is short 😄 , use ✨ Python ✨.

Credits

It’s a python port of the original emojify, all the glories should belong to mrowa44.

License

MIT

Release History

Release History

This version
History Node

0.2.0

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyemojify-0.2.0-py2.py3-none-any.whl (12.1 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Dec 10, 2015
pyemojify-0.2.0.tar.gz (10.7 kB) Copy SHA256 Checksum SHA256 Source Dec 10, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting