Metadata-Version: 2.0
Name: FlaskPusher
Version: 1.0
Summary: Adds Pusher support for your Flask application.
Home-page: https://github.com/Bekt/flask-pusher
Author: Kanat Bekt
Author-email: bekt17+gh@gmail.com
License: BSD
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: Flask (>=0.10)
Requires-Dist: pusher (>=1.1)

Flask-Pusher
------------

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

Easy Setup
``````````

Quickstart:

.. code:: python

    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:

.. code:: python

    from flask_pusher import Pusher

    pusher = Pusher()

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

Easy Installation
`````````````````

.. code:: bash

    $ pip install FlaskPusher
    $ # NOT Flask-Pusher

Links
`````

* `Source code and issues <https://github.com/Bekt/flask-pusher>`_
* `Documentation <http://flask-pusher.readthedocs.org/>`_
* `Official Pusher Python library <https://github.com/pusher/pusher-http-python>`_



