Flask-Emoji provides an easy way to add emoji support to your Flask application.
Install it from PyPI:
$ pip install Flask-Emoji
You can either bind Flask-Emoji directly to a specific application instance
app = Flask(__name__)
emoji = Emoji(app)
or by using the factory pattern, you can bind it to one or more instances:
emoji = Emoji()
def create_app():
app = Flask(__name__)
emoji.init_app(app)
return app