semvec/pypi-packages huggingface dataset:
emojiswitch 0.0.3
emoji switch
Requires Python: >=3.6.0
Keywords: pip,emojiswitch,meiqihezi

# 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 (梅妻鹤子)
genhtml 2.0.0
Html5 generator
Requires Python: >=3.7

Generate HTML. Usage:
	import genhtml
	html=genhtml.HTML()
	p=html.open('p')
	p.attrs['style']='color:red;'
	p.write('Hello!')
	html.commit(p)
	tags=html.get_tags()
	tags[0].write('Using genhtml')
	html.set_tags(tags)
	html.open_in_browser()
	print(genhtml.formated(html.output()))