From e8d7425c8e072800e663c4ef0def52ece088da15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Thu, 25 Apr 2024 23:56:36 +0200 Subject: [PATCH] Put back dunder methods --- emoji/__init__.py | 40 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 37 insertions(+), 3 deletions(-) diff --git a/emoji/__init__.py b/emoji/__init__.py index affdc56..8c7881e 100644 --- a/emoji/__init__.py +++ b/emoji/__init__.py @@ -1,6 +1,3 @@ -from emoji.core import * -from emoji.unicode_codes import * - __all__ = [ # emoji.core 'emojize', 'demojize', 'analyze', 'config', @@ -12,3 +9,40 @@ ] __version__ = '2.11.1' +__author__ = 'Taehoon Kim, Kevin Wurster' +__email__ = 'carpedm20@gmail.com' +# and wursterk@gmail.com, tahir.jalilov@gmail.com +__source__ = 'https://github.com/carpedm20/emoji/' +__license__ = ''' +New BSD License + +Copyright (c) 2014-2024, Taehoon Kim, Kevin Wurster +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* The names of its contributors may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +''' + +from emoji.core import * +from emoji.unicode_codes import *