Skip to main content
Help us improve Python packaging – donate today!

Adds Pusher support for your Flask application.

Project Description

Flask-Pusher is a wrapper around pusher-http-python and adds Pusher support for your Flask application.

Easy Setup

Quickstart:

from flask_pusher import Pusher

app = Flask(__name__)
pusher = Pusher(app)

# Use any `pusher.Pusher` method.
pusher.trigger('channel', 'my-event', {'data': 'It works!'})

Or using the factory pattern:

from flask_pusher import Pusher

pusher = Pusher()

def create_app():
    app = Flask(__name__):
    pusher.init_app(app)

    # Use any `pusher.Pusher` method.
    pusher.trigger('channel', 'my-event', {'data': 'It works!'})

Easy Installation

$ pip install FlaskPusher
$ # NOT Flask-Pusher

Release history Release notifications

This version
History Node

1.0.1

History Node

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
FlaskPusher-1.0.1-py2-none-any.whl (3.7 kB) Copy SHA256 hash SHA256 Wheel 2.7 Aug 8, 2015
FlaskPusher-1.0.1-py2.py3-none-any.whl (3.7 kB) Copy SHA256 hash SHA256 Wheel 3.4 Aug 8, 2015
FlaskPusher-1.0.1-py3-none-any.whl (3.7 kB) Copy SHA256 hash SHA256 Wheel 3.4 Aug 8, 2015
FlaskPusher-1.0.1.tar.gz (2.1 kB) Copy SHA256 hash SHA256 Source None Aug 8, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page