Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pyemojify

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pyemojify

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

  • 0.2.0
  • PyPI
  • Socket score

Maintainers
1

Pyemojify

|Latest Version| |Build Status| |Python Versions|

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 <https://github.com/mrowa44/emojify>, all the glories should belong to mrowa44 <https://github.com/mrowa44>.

License

MIT

.. |Latest Version| image:: http://img.shields.io/pypi/v/pyemojify.svg :target: https://pypi.python.org/pypi/pyemojify .. |Build Status| image:: https://travis-ci.org/lord63/pyemojify.svg :target: https://travis-ci.org/lord63/pyemojify .. |Python Versions| image:: https://img.shields.io/pypi/pyversions/pyemojify.svg :target: https://pypi.python.org/pypi/pyemojify

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc