Documentation at https://carpedm20.github.io/emoji/docs/
Module contents | |
---|---|
emojize() |
Replace emoji names in with Unicode codes |
demojize() |
Replace Unicode emoji with emoji shortcodes |
replace_emoji() |
Replace Unicode emoji with a customizable string |
emoji_list() |
Location of all emoji in a string |
distinct_emoji_list() |
Distinct list of emojis in the string |
emoji_count() |
Number of emojis in a string |
is_emoji() |
Check if a string/character is an emoji |
version() |
Unicode/Emoji version of an emoji |
EMOJI_DATA |
Dict of all emoji |
STATUS |
Dict of Unicode/Emoji status |
Building the documentation with Sphinx:
git clone https://github.com/carpedm20/emoji.git
cd emoji/docs
python -m pip install -r requirements.txt
make html
Check for warnings:
make clean
sphinx-build -n -T -b html . _build
Test code in code blocks:
make doctest
Test coverage of documentation:
make coverage