FlaskPusher 1.0.1
pip install FlaskPusher
Latest version
Released:
Adds Pusher support for your Flask application.
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (BSD)
- Author: Kanat Bekt
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
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
Links
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (BSD)
- Author: Kanat Bekt
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file FlaskPusher-1.0.1.tar.gz
.
File metadata
- Download URL: FlaskPusher-1.0.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31d89f07f8e6ad29f3b8c42a6147d390cb1b6b177006a016e6409304bd486ab3 |
|
MD5 | bd597b95f8ba5f82476ff7ac85c5d702 |
|
BLAKE2b-256 | 838081ef938b7807d4bb7fa381f7d0c57cf5f7c8b3d1d16f50d1ab6b412f706f |
File details
Details for the file FlaskPusher-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: FlaskPusher-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3297b6d1d4dc6ee224927a57f147e5edfa4fdea9fb221a5576efbc8986c83caf |
|
MD5 | e1ac032526f6e782ec8504ccb21dda77 |
|
BLAKE2b-256 | 207a0c72e481c55cff6f107244d21743b59faef6a0fb468c1bb41828cc759cb1 |
File details
Details for the file FlaskPusher-1.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: FlaskPusher-1.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0143834d8a065c4ec59a25199b02b389f83bbb0ab2b4902214b47b0524d54785 |
|
MD5 | fa1227d895a585af58b72798d2355d8e |
|
BLAKE2b-256 | 442a1661ed658c6f6867b75b36d74aff5c4bd98f487477c1ac80efd8a00f91a4 |
File details
Details for the file FlaskPusher-1.0.1-py2-none-any.whl
.
File metadata
- Download URL: FlaskPusher-1.0.1-py2-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2668acc4e7807fd0eab15bc1c502e522d32e70f957ff27e9c383a653c1ce44eb |
|
MD5 | 7412c6c5e4016b34dc1cbc2125a711d0 |
|
BLAKE2b-256 | f652ee4547534cb0d49053f3071f2fa82bb54c7b0ce0e99ed2015e3a89da7586 |