Bundle static copy of Unicode emoji data with package #29
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
...at install time, rather than requiring a runtime download
of the codes from unicode.org.
SemVer MAJOR:
demoji
package now bundles emoji data that is distributed with thepackage at install time, rather than requiring a download of the codes
from the unicode.org site at runtime (closes Bundle emojis in package #23)
from the
demoji
API:download_codes()
parse_unicode_sequence()
parse_unicode_range()
stream_unicodeorg_emojifile()
SemVer MINOR:
demoji.DIRECTORY
anddemoji.CACHEPATH
attributes are deprecateddue to no longer being functionally in used by the package. Accessing them
will warn with a
FutureWarning
, and these attributes may be removedcompletely in a future release
demoji
can now be installed with optionalujson
support for faster loadingof emoji data from file (versus the standard library's
json
, which is thedefault); use
python -m pip install demoji[ujson]
requests
andcolorama
have been removed completelyimportlib_resources
(a backport module) is now required for Python < 3.7EMOJI_VERSION
attribute, newly added todemoji
, is astr
denotingthe Unicode database version in use
SemVer PATCH:
demoji.__all__
to properly includedemoji.findall_list()
set_emoji_pattern()
are now decoratedwith a
@cache_setter
to set the cachedownloading codes to bundling codes with install
Closes #28
Closes #27
Closes #23
Closes #11
Closes #4