Laky-64 / EmojiRebooted

Convert all emoji to unicode plain text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Emoji(Rebooted)

Emoji for Python. This project was inspired by Taehoon Kim.

Example

The entire set of Emoji codes as defined by the unicode consortium is supported in addition to a bunch of aliases. By default, only the official list is enabled but doing emoji.emojize(use_aliases=True) enables both the full list and aliases.

    >> import emoji_decoder
    >> print(emoji_decoder.emojize('Python is :thumbs_up:'))
    Python is πŸ‘
    >> print(emoji_decoder.emojize('Python is :thumbsup:', use_aliases=True))
    Python is πŸ‘
    >> print(emoji_decoder.demojize('Python is πŸ‘'))
    Python is :thumbs_up:
    >>> print(emoji_decoder.emojize("Python is fun :red_heart:"))
    Python is fun ❀
    >>> print(emoji_decoder.emojize("Python is fun :red_heart:",variant="emoji_type"))
    Python is fun ❀️ #red heart, not black heart

More Info

About

Convert all emoji to unicode plain text


Languages

Language:Python 100.0%