1# -*- coding: UTF-8 -*- 2 3 4""" 5emoji for Python 6~~~~~~~~~~~~~~~~ 7 8emoji terminal output for Python. 9 10 >>> import emoji 11 >>> print(emoji.emojize('Python is :thumbsup:', use_aliases=True)) 12 Python is 13 >> print(emoji.emojize('Python is :thumbs_up:')) 14 Python is 15""" 16 17 18from emoji.core import * 19from emoji.unicode_codes import * 20 21__all__ = [ 22 # emoji.core 23 'emojize', 'demojize', 'get_emoji_regexp', 'emoji_count', 'emoji_lis', 24 'replace_emoji', 'version', 25 # emoji.unicode_codes 26 'EMOJI_UNICODE_ENGLISH', 'EMOJI_UNICODE_SPANISH', 'EMOJI_UNICODE_PORTUGUESE', 27 'EMOJI_UNICODE_ITALIAN', 'EMOJI_UNICODE_FRENCH', 'EMOJI_UNICODE_GERMAN', 28 'UNICODE_EMOJI_ENGLISH', 'UNICODE_EMOJI_SPANISH', 'UNICODE_EMOJI_PORTUGUESE', 29 'UNICODE_EMOJI_ITALIAN', 'UNICODE_EMOJI_FRENCH', 'UNICODE_EMOJI_GERMAN', 30 'EMOJI_ALIAS_UNICODE_ENGLISH', 'UNICODE_EMOJI_ALIAS_ENGLISH', 'EMOJI_DATA', 31] 32 33__version__ = '1.6.1' 34__author__ = 'Taehoon Kim, Kevin Wurster and Tahir Jalilov' 35__email__ = 'carpedm20@gmail.com' 36# and wursterk@gmail.com, tahir.jalilov@gmail.com 37__source__ = 'https://github.com/carpedm20/emoji/' 38__license__ = ''' 39New BSD License 40 41Copyright (c) 2014-2021, Taehoon Kim, Kevin Wurster and Tahir Jalilov 42All rights reserved. 43 44Redistribution and use in source and binary forms, with or without 45modification, are permitted provided that the following conditions are met: 46 47* Redistributions of source code must retain the above copyright notice, this 48 list of conditions and the following disclaimer. 49 50* Redistributions in binary form must reproduce the above copyright notice, 51 this list of conditions and the following disclaimer in the documentation 52 and/or other materials provided with the distribution. 53 54* The names of its contributors may not be used to endorse or promote products 55 derived from this software without specific prior written permission. 56 57THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 58AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 59IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 60DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 61FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 62DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 63SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 64CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 65OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 66OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 67''' 68