Saravanan666/pypi-org huggingface dataset:
Package: emojicons
A very small python script that exposes a CLI and consumeshttp://emojicons.com/Installationpip install emojiconsAvailable commandsOnline queriesRandom$ emoji random
  ID  Title                                           Emoji
----  ----------------------------------------------  -------------------------
 208  asian gang                                      (-(-(- -)-)-)
  99  street fight                                    Ｏ( ｀_´)乂(｀_´ )Ｏ
 409  Successful Thesis Defense                       ೖ(⑅σ̑ᴗσ̑)ೖ
 205  bunny ears                                      (”)(”)
 107  pigs need love too                              (｡･ω･｡)ﾉ♡
 254  pew pew                                         (　-_･)σ - - - - - - - - ･
 283  Tina Fey writing the last episode of '30 Rock'  ໒(⊙ᴗ⊙)७✎▤
 387  Winnie the Pooh                                 ʕ •́؈•̀)
 266  Rudolph the Red Nosed Reindeer                  3:*)
 270  So happy right now                              (●⌃ٹ⌃)
 361  perplexed                                       ( ⧉ ⦣ ⧉ )
 152  bowling cat                                     ◎ヽ(^･ω･^=)~
  52  sleepy                                          (-, - )…zzzZZZ
  96  flipping dude over                              (╯°Д°）╯︵ /(.□ . \)Hall of fame$ emoji hof
  ID  Title                Emoji
----  -------------------  --------------
  12  flipping tables      (╯°□°)╯︵ ┻━┻
   1  shrug                ¯\_(ツ)_/¯
  39  look of disapproval  ಠ_ಠ
   5  happy hands up       ლ(╹◡╹ლ)
  24  koala bear           ʕ •ᴥ•ʔ
   4  Nyan Cat             ~=[,,_,,]:3
 137  headphones           d-_-b
 212  O Hai                (●°u°●) 」
 220  kawaii shrug         ╮ (. ❛ ᴗ ❛.) ╭Popular$ emoji popular
  ID  Title                Emoji
----  -------------------  ------------------------
  71  sleepy flower girl   (◡ ‿ ◡ ✿)
  12  flipping tables      (╯°□°)╯︵ ┻━┻
 398  GIVE DIRETIDE        ༼ つ ◕_◕ ༽つ GIVE DIRETIDE
  24  koala bear           ʕ •ᴥ•ʔ
  28  y u no               ლ(ಠ益ಠლ)
  39  look of disapproval  ಠ_ಠ
  43  smiling breasts      （^人^）
 141  eff you              ┌∩┐(◣_◢)┌∩┐
 361  perplexed            ( ⧉ ⦣ ⧉ )
   4  Nyan Cat             ~=[,,_,,]:3
  45  middle finger up     t(-.-t)
 159  sloth                (⊙ω⊙)
   1  shrug                ¯\_(ツ)_/¯
   3  I dunno LOL          ¯\(º_o)/¯Custom search$ emoji search table
  ID  Title                  Emoji
----  ---------------------  -----------------------
  12  flipping tables        (╯°□°)╯︵ ┻━┻
  30  pudgy table flipping   (ノ ゜Д゜)ノ ︵ ┻━┻
  31  table flipping battle  (╯°□°)╯︵ ┻━┻ ︵ ╯(°□° ╯)Local operationsAll local operations have an optional argument--fileto override
the default path~/.emoji.jsonSave to file$ emoji save 1
Emoji saved to '~/.emoji.json'
  ID  Title    Emoji
----  -------  ---------
   1  shrug    ¯\_(ツ)_/¯Copy to clipboard$ emoji clip 1
Emoji '¯\_(ツ)_/¯' copied to clipboard!List emojis from file$ emoji list
  ID  Title        Emoji
----  -----------  ---------
   3  I dunno LOL  ¯\(º_o)/¯
   1  shrug        ¯\_(ツ)_/¯Delete from file$ emoji delete 284
Emoji with id '284' deleted from '~/.emoji.json'AuthorMário Santos@_RuiZinK_
Package: emoji-converter
Emoji converterA Python package for converting emojis to text and text to emojis.Exampleimportemoji_converter# Convert emoji to textemoji_text=emoji_converter.convert_emoji_to_text("Hello! 😊")print(emoji_text)# Output: Hello! &#128522;# Convert text to emojitext_emoji=emoji_converter.convert_text_to_emoji("Hello! &#128522")print(text_emoji)# Output: Hello! 😊LicenseThis project is licensed under the MIT License. See the LICENSE file for
more information.
Package: emoji-country-flag
flagFlag emoji for Python.Converts flag emoji to ASCII and other way round.This is based onhttp://schinckel.net/2015/10/29/unicode-flags-in-python/byschinckelHow it worksAll the flag emoji are actually composed of two unicode letters. These are the 26regional indicator symbols.Alone they look like this:🇦 🇧 🇨 🇩 🇪 🇫 🇬 🇭 🇮 🇯 🇰 🇱 🇲 🇳 🇴 🇵 🇶 🇷 🇸 🇹 🇺 🇻 🇼 🇽 🇾 🇿If you pair them up according to ISO 3166 some browsers and phones will display a flag.For example TW is Taiwan: 🇹 + 🇼 = 🇹🇼So, to encode an ASCII code like:TW:to 🇹🇼, we just need to convert the ASCIITandWto the corresponding regional indicator symbols 🇹 and 🇼.To reverse it, we translate the regional indicator symbols back to ASCII letters.Example>>>importflag>>>flag.flag("IL")'🇮🇱'>>>flag.flag("GBENG")'🏴󠁧󠁢󠁥󠁮󠁧󠁿'>>>flag.flagize("Flag of Israel :IL:")'Flag of Israel 🇮🇱'>>>flag.dflagize("Flag of Israel 🇮🇱")'Flag of Israel :IL:'>>>flag.flagize("England :gb-eng: is part of the UK :GB:",subregions=True)'England 🏴󠁧󠁢󠁥󠁮󠁧󠁿 is part of the UK 🇬🇧'>>>flag.dflagize("England 🏴󠁧󠁢󠁥󠁮󠁧󠁿 is part of the UK 🇬🇧",subregions=True)'England :gb-eng: is part of the UK :GB:'Installpip install emoji-country-flagSee:https://pypi.org/project/emoji-country-flag/Python 3.7 or higher is required for the latest release.
The last release for Python 2.7, 3.4 and 3.5 wasv1.2.4.DocumentationDocumentation athttps://flag.readthedocs.io
Package: emoji-data
emoji-dataA library represents emoji sequences and characters inUnicode® Technical Standard #51 Data FilesHow to useExamples below are also in anotebookClassEmojiSequenceis most useful:Iterate EmojisPrint first 5 emoji sequence objects:>>>fromemoji_dataimportEmojiSequence>>>for(s,seq),*_inzip(EmojiSequence.items(),range(5)):>>>print(s,repr(seq))👨‍❤️‍👨<EmojiSequencecode_points='1F468 200D 2764 FE0F 200D 1F468'status='fully-qualified',string='👨\u200d❤️\u200d👨',description='couple with heart: man, man'>👨‍❤️‍💋‍👨<EmojiSequencecode_points='1F468 200D 2764 FE0F 200D 1F48B 200D 1F468'status='fully-qualified',string='👨\u200d❤️\u200d💋\u200d👨',description='kiss: man, man'>👨‍👦<EmojiSequencecode_points='1F468 200D 1F466'status='fully-qualified',string='👨\u200d👦',description='family: man, boy'>👨‍👦‍👦<EmojiSequencecode_points='1F468 200D 1F466 200D 1F466'status='fully-qualified',string='👨\u200d👦\u200d👦',description='family: man, boy, boy'>👨‍👧<EmojiSequencecode_points='1F468 200D 1F467'status='fully-qualified',string='👨\u200d👧',description='family: man, girl'>Convert HEX to Emoji>>>fromemoji_dataimportEmojiSequence>>>emojis_data=[>>>'1F6A3',>>>'1F468 1F3FC 200D F68F',>>>'1F468 1F3FB 200D 2708 FE0F',>>>'023A',>>>'1F469 200D 1F52C',>>>'1F468 200D 1F468 200D 1F467 200D 1F467',>>>'1F441 FE0F 200D 1F5E8 FE0E'>>>]>>>forhex_datainemojis_data:>>>try:>>>es=EmojiSequence.from_hex(hex_data)>>>exceptKeyError:>>>print('{}is NOT Emoji!'.format(hex_data))>>>else:>>>print('{}is Emoji{}'.format(hex_data,es.string))1F6A3isEmoji🚣1F4681F3FC200DF68FisNOTEmoji!1F4681F3FB200D2708FE0FisEmoji👨🏻‍✈️023AisNOTEmoji!1F469200D1F52CisEmoji👩‍🔬1F468200D1F468200D1F467200D1F467isEmoji👨‍👨‍👧‍👧1F441FE0F200D1F5E8FE0EisNOTEmoji!Check if a string is Emoji>>>fromemoji_dataimportEmojiSequence>>>print('👨'inEmojiSequence)True>>>print('©'inEmojiSequence)# 00AE, unqualifiedTrue>>>print('5️⃣'inEmojiSequence)True>>>print('9⃣'inEmojiSequence)# 0039 20E3, unqualifiedTrueSearch Emojis in text>>>fromemoji_dataimportEmojiSequence>>>strings=[>>>"First:👨🏻‍⚕️. Second:👨🏻.",>>>"The two emojis 👨‍👨‍👧👨‍👨‍👧‍👧 are long. Today is a 🌞⛈️ day, I am 😀.",>>>"© 00AE is unqualified, the full-qualified one is 00A9 FE0F ©️",>>>"9⃣ 0039 20E3 is also unqualified, but it can be matched!">>>]>>>forsinstrings:>>>fores,begin,endinEmojiSequence.iter_find(s):>>>print('[{}:{}] :{}'.format(begin,end,es))>>>print('------')[6:11]:👨🏻‍⚕️[20:22]:👨🏻------[15:20]:👨‍👨‍👧[20:27]:👨‍👨‍👧‍👧[49:50]:🌞[50:52]:⛈️[63:64]:😀------[0:1]:©[59:61]:©️------[0:2]:9⃣
Package: emojidb-python
📦 EmojiDBSimple python wrapper for emojidb.com⭐️ Usagepipinstallemojidb-pythonfromasyncioimportrunfromemojidbimportEmojiDBClientasyncdefmain():query="love"asyncwithEmojiDBClient()asclient:foremoji,infoinawaitclient.search_for_emojis(query):print(emoji,info)if__name__=="__main__":run(main)🪪 LicenseCopyright 2023 Yunus Emre Ak ~ YEmreAk.com

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Package: emoji-encoding
# Emoji encoding for 🐍This module provides a custom source code encoding allowing usage of Emoji's for things like variable names or function names.## UsageInstall the package with pip:```pip install emoji-encoding```**It's recommended to install it in [a virtualenv](https://virtualenv.readthedocs.org/en/latest/)**After installation you can specify the encoding in the beginning of a Python file:```python# -*- coding: emoji -*-def 📢(✉️):print(✉️)📢("✋ 🌏")```## UninstallingThis package will create `emoji.pth` file in your `site-packages` directory to autoload the codec. After removing the module you need to remove this file manually.## Known issuesCurrently the encoding is only available in imported modules so trying to run Emoji encoded file directly will fail:```$ python emoji.pyFile "emoji.py", line 1SyntaxError: encoding problem: emoji```Easy workaround is to have an another file that imports the Emoji encoded file:```shell$ cat bootstrap.pyimport emoji$ python bootstrap.py✋ 🌏```## HistoryIt all started with Ola Sendecka's talk about [Emoji Driven Development](https://speakerdeck.com/jezdezcon/ola-sendecka-emoji-driven-development) which made me wonder: "why *can't* we use Emoji's in Python?". After a bit of hacking I was able to use them [with a patched cpython](https://twitter.com/suda/status/614814994367168512). This wasn't a perfect solution so playing with this idea I ended up with custom [codec](https://docs.python.org/3/library/codecs.html) that translates Emoji's to their ASCII representations and adds prefix/suffix to decode such unique string back to Unicode.
Package: emojientities
emoji entitiesThis module downloads the latest list of emoji characters from unicode.org and addsstring.emojis, a concatenatedstrcontaining all characters, to be used just as the other string entities (e.g.string.letters).DependenciesrequestsInstallationusingpipor similar:pipinstallemojientitiesmanually:Clone this repositorygitclonehttps://gitlab.com/christoph.fink/python-emojientities.gitChange to the cloned directoryUse the Pythonsetuptoolsto install the package:python./setup.pyinstallUsageThis module extends the character classes provided by thestringstandard library to include anemojirange. To use it, importemojientitiesandstringand usestring.emojisto, for instance, filter emojis in a text:importemojientitiesimportstring# example string from: Hiippala et al. (2018) Exploring the linguistic landscape of# geotagged social media content in urban environments. Digital Scholarship in the Humanities.photoCaption="Great weather in Helsinki!!! On holiday with @username.:-) #helsinki #visitfinland 🤓☀️🛳️"emojisOnly="".join([cforcinphotoCaptionifcinstring.emojis])# '🤓☀️🛳️'photoCaptionWithoutEmojis="".join([cforcinphotoCaptionifcnotinstring.emojis])# 'Great weather in Helsinki!!! On holiday with @username.:-) #helsinki #visitfinland '
Package: emojificate
Emojificate is a Python implementation of a concept of using fallback images, alt text, title text and aria labels to represent emoji in HTML, a more accessible method than browser defaults.Installationemojificate is available on pypi:pip install emojificateUsageTo convert a string from the command line:$ python3 -m emojificate "I 💜 emoji 😊"
I
<img src="https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f49c.png"
     css="emojificiate" alt="💜" title="Purple Heart"
     aria-label="Emoji: Purple Heart">
emoji
    <img src="https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f60a.png"
    css="emojificiate" alt="😊" title="Smiling Face With Smiling Eyes"
    aria-label="Emoji: Smiling Face With Smiling Eyes">Change the class with--css-class(default “emojificate”). To get SVG instead of PNG, use--filetypesvg.Or, if you’ve got a Django project, putemojificateinto yourINSTALLED_APPS, and then use the following in a template:{% load emojificate %}
This is some {{ user_content|emojificate }} that has emoji in it.

{% emojified %}
This is some template content that 💜 emoji as well.
{% endemojified %}Configure withEMOJIFICATE_FILETYPEandEMOJIFICIATE_CSS_CLASSin yoursettings.py, and add some css to make the emoji not huge.ImplementationTL;DR: Take a string, split it into tokens, and if a token is emoji, process it into a nice format.As of 0.4.0, string-splitting is now handled bygrapheme.Given a list of tokens, we can leverage the nativeunicodedatato:see if a token is a unicode Symbol (an emoji)get the codepoint for the emoji, andget the name of the emoji.If a token is a grapheme and not a character, there won’t be a record of what it is in unicodedata. In that case emojificate defaults to a human-readable version of the shortcode provided byemoji.From there, we construct an<img>replacement for the emoji:Use images fromtwemoji, Twitter’s emoji set (if the URL exists)Have analtparameter containing the original emoji. This allows for copying-pasting.Use the name of the emoji in thetitleparameter. This allows for hover-tooltips.Add anaria-labelfor screen-reader accessibility.For more information, seeSolve For Emoji.Implementation in other languagesRubyrequire'gemoji'defcdn"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/"enddefemojificate(string)string.split("").eachdo|s|e=Emoji.find_by_unicode(s)ifethenu=s.ord.to_s(16)# e.g. 1f431d=e.description# e.g. "cat face"img="<img src=\"#{cdn}/#{u}.png\"alt=\"#{s}\"title=\"#{d}\"aria-label=\"Emoji:#{d}\">"printimgelseprintsendendend
Package: emojifier
EmojifierEmojifier is a module for emojifying textLicenseGNU General Public License v3 (GPLv3)See the licenseCreditsMost of the credit goes toKevinpgalliganas they are the creator of this project.
I am only making it compatible with PyPI and making some improvementsExamplesExamples folderDocumentationThere is no documentation, check theexamples folderto see the only function
Package: emojiflag
Installpip install emojiflagUse it ✌🏻importemojiflagemojiflag.get('nl')>>>🇳🇱emojiflag.get('en_US')>>>🇺🇸emojiflag.get('it')>>>🇮🇹Test it 💪🏻pipinstall-rrequirements-dev.txtpytest-s--covemojiflagCreditshttps://schinckel.net/2015/10/29/unicode-flags-in-python/
Package: emojify
emojify :) 😊DescriptionObfuscate your python script (or indeed any plain text file) by converting an input script to an output script that functions the same (hopefully) but encodes the code as emoji icons, currently emoticons or emojis.Installationpip install emojifyIf installation fails withpipfor some reason, you can just clone the repository, since there are no dependancies apart from python 3:git clone https://github.com/chris-rands/emojify
cd emojifyUsageemojify --input input_script.py --output output_script.pyFor help:emojify --helpFor unit testing:test_emojifyExampleinput_script.pycontains:print('hello world')
def add(n1,n2):
    return n1 + n2
print('4 + 4 = {}'.format(add(4,4)))runningemojify --input input_script.py --output output_script.pyoutput_script.pycontains:exec("".join(map(chr,[int("".join(str({':(': 4,
 ':)': 0,
 ':/': 7,
 ':D': 1,
 ':P': 2,
 ':S': 3,
 ':{': 8,
 ';)': 9,
 '=)': 5,
 '=/': 6}[i]) for i in x.split())) for x in
":D :D :P  :D :D :(  :D :) =)  :D :D :)  :D :D =/  :( :)  :S ;)  :D :) \
:(  :D :) :D  :D :) :{  :D :) :{  :D :D :D  :S :P  :D :D ;)  :D :D :D \
 :D :D :(  :D :) :{  :D :) :)  :S ;)  :( :D  :D :)  :D :) :)  :D :) :D\
  :D :) :P  :S :P  ;) :/  :D :) :)  :D :) :)  :( :)  :D :D :)  :( ;)  \
:( :(  :D :D :)  =) :)  :( :D  =) :{  :D :)  :S :P  :S :P  :S :P  :S :\
P  :D :D :(  :D :) :D  :D :D =/  :D :D :/  :D :D :(  :D :D :)  :S :P  \
:D :D :)  :( ;)  :S :P  :( :S  :S :P  :D :D :)  =) :)  :D :)  :D :D :P\
  :D :D :(  :D :) =)  :D :D :)  :D :D =/  :( :)  :S ;)  =) :P  :S :P  \
:( :S  :S :P  =) :P  :S :P  =/ :D  :S :P  :D :P :S  :D :P =)  :S ;)  :\
( =/  :D :) :P  :D :D :D  :D :D :(  :D :) ;)  ;) :/  :D :D =/  :( :)  \
;) :/  :D :) :)  :D :) :)  :( :)  =) :P  :( :(  =) :P  :( :D  :( :D  :\
( :D  :D :)"
.split("  ")])))runningpython output_script.pyoutputs:hello world
4 + 4 = 8similarly, runningemojify --input input_script.py --output output_script.py --emojioutput_script.pycontains:exec("".join(map(chr,[int("".join(str({'😀': 0, '😁': 3, '😂': 6, '😃': 1, '😄': 2, '😅': 4, '😉': 7, '😊': 8, '😛': 9, '🤣': 5}[i]) for i in x.split())) for x in
"😃 😃 😄  😃 😃 😅  😃 😀 🤣  😃 😃 😀  😃 😃 😂  😅 😀  😁 😛  😃 😀 😅  😃 😀 😃  😃 😀 😊  😃 😀 \
😊  😃 😃 😃  😁 😄  😃 😃 😛  😃 😃 😃  😃 😃 😅  😃 😀 😊  😃 😀 😀  😁 😛  😅 😃  😃 😀  😃 😀 😀\
  😃 😀 😃  😃 😀 😄  😁 😄  😛 😉  😃 😀 😀  😃 😀 😀  😅 😀  😃 😃 😀  😅 😛  😅 😅  😃 😃 😀  🤣\
 😀  😅 😃  🤣 😊  😃 😀  😁 😄  😁 😄  😁 😄  😁 😄  😃 😃 😅  😃 😀 😃  😃 😃 😂  😃 😃 😉  😃 😃\
 😅  😃 😃 😀  😁 😄  😃 😃 😀  😅 😛  😁 😄  😅 😁  😁 😄  😃 😃 😀  🤣 😀  😃 😀  😃 😃 😄  😃 😃\
 😅  😃 😀 🤣  😃 😃 😀  😃 😃 😂  😅 😀  😁 😛  🤣 😄  😁 😄  😅 😁  😁 😄  🤣 😄  😁 😄  😂 😃  \
😁 😄  😃 😄 😁  😃 😄 🤣  😁 😛  😅 😂  😃 😀 😄  😃 😃 😃  😃 😃 😅  😃 😀 😛  😛 😉  😃 😃 😂  😅\
 😀  😛 😉  😃 😀 😀  😃 😀 😀  😅 😀  🤣 😄  😅 😅  🤣 😄  😅 😃  😅 😃  😅 😃  😃 😀"
.split("  ")])))and runningoutput_script.pyouputs the same as above.DisclaimerOnly tested on Python 3.6+ and on CPython. Not tested on complex scripts, so don't rely on this script to work, not guaranteed to work at all, and it is probably easy to break. One case it will fail is with non-unicode characters. Also note, if you want to securely protect your code from the eyes of others, this is NOT a good way.
Package: emoji-fzf
Installationzsh pluginManuallyShell aliasvimAlternative setupCustom emoji aliasesDevelopment/testingBuilding package for publishingemoji-fzfSmall utility for manipulating emojis viafzf's--previewhook!InstallationInstallfzfif you don't have it already to use its preview browser:https://github.com/junegunn/fzf#installationInstall the latest release ofemoji-fzffrom pypi:pipinstallemoji-fzfSeeemoji-fzf --helpfor supported commands.This project allows you to install the tool in an isolated environment:https://github.com/pipxproject/pipxzsh pluginThere's an excellent zsh plugin available, see here (thanks @pschmitt !):https://github.com/pschmitt/emoji-fzf.zshManuallyShell aliasYou could add a shell alias like the following to your shell init script:# if you aren't installing to a virtual env, you may need to add this to path# (if it wasn't already) to access the tool from a pip installationexportPATH=$PATH:~/.local/bin# add me to your ~/.bashrc or ~/.zshrc or whatnotaliasemoj="emoji-fzf preview | fzf -m --preview "emoji-fzfget--name{1}" | cut -d "" -f 1 | emoji-fzf get"# to copy to xclip system keyboard (on mac use pbcopy) after selectingemoj|xclip-selectioncvimYou can also add the following to a~/.vimrcfile (apologies for the kludgy
vimscript, I'm not great at it), to enableC-eto open the emoji picker and
insert the selected emoji:" Use emoji-fzf and fzf to fuzzy-search for emoji, and insert the result
function! InsertEmoji(emoji)
    let @a = system('cut -d " " -f 1 | emoji-fzf get', a:emoji)
    normal! "agP
endfunction

command! -bang Emoj
  \ call fzf#run({
      \ 'source': 'emoji-fzf preview',
      \ 'options': '--preview ''emoji-fzf get --name {1}''',
      \ 'sink': function('InsertEmoji')
      \ })
" Ctrl-e in normal and insert mode will open the emoji picker.
" Unfortunately doesn't bring you back to insert mode 😕
map <C-e> :Emoj<CR>
imap <C-e> <C-o><C-e>Alternative setupIf you prefer not to use fzf's preview feature and have the emojis appear
before their aliases you can use the following alias instead:aliasemoj="emoji-fzf preview --prepend | fzf | awk '{ print \$1 }'"Custom emoji aliasesemoji-fzf uses a pre-defined set of aliases for every emoji. If you want to
define your own, ie add custom aliases for some emojis you can do this via the--custom-aliasesflag.Please note that these aliases will be appended to the list of pre-defined
aliases and not replace them.First you need to create a JSON file with the following structure:[{"👍":["my-custom-alias","good-boy"]},{"💯":["epic-victory-royale"]}]Now you can callemoji-fzflike so:emoji-fzf--custom-aliases/path/to/your-custom-aliases.jsonpreviewDevelopment/testingThis uses a Dockerfile to keep the test build environment relatively clean and
locked. The full test infrastructure is:Docker container, based on Ubuntu 20.04tox to run the tests + build checkspre-commit to run isort, black, etc.check-wheel-contents for built wheel sanityTo run the test suite in docker just as CI does:./test.shBuilding package for publishingThis just uses old timey setuptools:pythonsetup.pysdistbdist_wheelUsetwineto upload to pypi.
Package: emoji-generator
Emoji Generator🎉 Welcome to Emoji Generator - your go-to package for generating random emojis! 🎉With this package, you can easily generate random emojis or choose from specific categories to get emojis that fit your needs.InstallationYou can install Random Emoji Generator using pip:pip install emoji-generatorUsageGenerating Random Emojis by Passing CountTo generate a random emoji, use theget_random_emoji(count)function:importemoji_generator.random_emojiasemojigen# Generate 5 random emojisrandom_smileys=emojigen.get_random_emojis(5)# Print the list of smileysforsmileyinrandom_smileys:print(smiley["name"],smiley["image"])# Output# [{'code': 'U+1F1ED U+1F1F0', 'name': 'flag: Hong Kong SAR China', 'image': '🇭🇰', 'category': 'Flags'}]Generating Emojis by CategoryYou can generate emojis from specific categories using theget_random_emojis_by_category()function. The supported categories are:People & BodyActivitiesTravel & PlacesObjectsAnimals & NatureFlagsFood & DrinkSmileys & EmotionSymbolsimportemoji_generator.random_emojiasemojigen# Generate 5 random emojis from given categoryrandom_smileys_by_category=emojigen.get_random_emojis_by_category("Flags",5)# Print the list of emojisforsmileyinrandom_smileys_by_category:print(smiley["name"],smiley["image"])# Output# [{'code': 'U+2764', 'name': 'red heart', 'image': '❤', 'category': 'Smileys & Emotion'}]LinksIf you want to generate random emojis without writing any code, check out our websiterandomgenerate.io. You can also use ourRandom Emoji Generatortool to generate emojis with specific categories.ContributingIf you have any ideas or suggestions for improving this package, feel free to open an issue or submit a pull request onGitHub.We appreciate your contributions! 😊
Package: emojigg
emojiggAn async API wrapper foremoji.gg.Useful for Discord Bots usingdiscord.py, or for any project you're working on.NoteThis wrapper is still under heavy development -> anything is due to change.InstallingRecommended Python 3.5.3 or higherTo install the library you can do the following# Linux / MacOSpython-mpipinstallemojigg# Windowspy-mpipinstallemojiggLinksDocs (temp):WikiPypi:pypi
Package: emoji.gg-tako
(Unofficial) emoji.gg API Wrapper for Python | DocumentationInstallation:To install with PIP, run this in your console:pip install emoji.gg-takoFetch Stats:To fetch stats fromemoji.gg:fromemoji_ggimportstats...awaitstats.fetch(endpoint)Available Endpoints:emojiusersfavespendingFetch Emoji:To fetch emojis fromemoji.gg:fromemoji_ggimportemoji...awaitemoji.fetch(option,query,endpoint)# endpoint is optional. if not provided, will return the whole JSON response.Options:titleidslugAvailable Endpoints:titleidslugimagecategorylicensesourcefavesauthor
Package: emojihash
Emoji-hash 😄Library with hashing tools where hash is emoji(s). Zero dependencies.InstallationpipinstallemojihashSimple examplefromemojihashimporteh1my_string="Hello world!"emoji_hash=eh1(my_string)# eh == Emoji Hashprint(emoji_hash)# 🥳More examplesfromemojihashimporteh1print(eh1("Hello world!")# "🥳")print(eh1(42)# "🚳")print(eh1("I need more emojis!!!",length=12)# "🍤🍧🚮🛄👑🛹⛩💙🙇🎊🍍👚")print(eh1("I need more emojis!!!",length=2)# "🦈🏼")print(eh1(b'000',length=2)# "🩹🟠")print(eh1(u'5p34k 1337',length=4,encode='ascii')# "🍓👣🔩💯")