In this pull request, I added multiple improvements to bullet/emojis.py:
What was added?
Created two separate dictionaries. Each dictionary is a category whose keys are emoji names and values are the emojis themselves:
The faces dictionary: emoji faces
The animals dictionary: unicode/emoji animals
Created two utility functions:
The get_emojis function returns a dictionary of the emoji categories specified. get_emojis(['faces', 'animals']) would return a dictionary which contains emoji faces and animals.
The list_emojis function which does the same as get_emojis except it is a generator and yields each emoji specified
Documentation describing the new functionality
Purpose
This new feature expands the amount of emojis available. It also groups emojis into categories and provides functions to deal with them. The documentation was updated to reflect the new functionality.
Added Emojis (Feature)
In this pull request, I added multiple improvements to
bullet/emojis.py
:What was added?
faces
dictionary: emoji facesanimals
dictionary: unicode/emoji animalsget_emojis
function returns a dictionary of the emoji categories specified.get_emojis(['faces', 'animals'])
would return a dictionary which contains emoji faces and animals.list_emojis
function which does the same asget_emojis
except it is a generator and yields each emoji specifiedPurpose
This new feature expands the amount of emojis available. It also groups emojis into categories and provides functions to deal with them. The documentation was updated to reflect the new functionality.
Question: Do I bump the version number to
2.2.1
?I hope to hear feedback on this request.