Skip to content
This repository has been archived by the owner on Mar 15, 2020. It is now read-only.

sh4nks/flask-emoji

Repository files navigation

Build Status Coverage Status

Flask-Emoji

Flask-Emoji provides an easy way to add emoji support to your Flask application.

Quickstart

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

Links