Skip to main content

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

Project description

Latest Version Build Status Python Versions

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


$ pip install pyemojify



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


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


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



Project details

Download files

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

Files for pyemojify, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size pyemojify-0.2.0.tar.gz (10.7 kB) File type Source Python version None Upload date Hashes View
Filename, size pyemojify-0.2.0-py2.py3-none-any.whl (12.1 kB) File type Wheel Python version 2.7 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page