Metadata-Version: 2.1
Name: emojiswitch
Version: 0.0.3
Summary: emoji switch
Home-page: https://github.com/yuanhong18/emojiswitch
Author: meiqihezi
Author-email: 18202722061@163.com
License: UNKNOWN
Keywords: pip,emojiswitch,meiqihezi
Platform: any
Requires-Python: >=3.6.0
Description-Content-Type: text/markdown

# Emojiswitch
Emoji switch (supporting Chinese and English by set parameter lang)

# Example
~~~
from emojiswitch import emojize, demojize

# word switch to emoji
print(emojize('This animal is :tiger:', delimiters=(":", ":"), lang="en"))                                  # This animal is 🐅
print(emojize('这个动物是__老虎__', delimiters=("__", "__"), lang="zh"))                           # 这个动物是🐅

# emoji swith to word
print(demojize('我喜欢吃🍏', delimiters=("__", "__"), lang="zh"))                                           # 我喜欢吃__青苹果__
print(demojize('I like eating 🍏', delimiters=("__", "__"), lang="en"))                                    # I like eating __green_apple__
~~~

# Two modes:
1. demojize   ：Parsing Emoji into a specific language  
(delimiters: distinguish the text to be translated)

2. emojize      ：Translate text to Emoji  
(delimiters: distinguish the text to be translated)

(Note: currently only Chinese (zh) and English (en) are supported)

# Installation
~~~
$ pip install emojiswitch
~~~

# Authors
mieqihezi (梅妻鹤子)


