Flask-Pusher
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
Metadata
Release files for FlaskPusher 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| FlaskPusher-1.0.1.tar.gz | 2.1 kB | Without provenance | Details for FlaskPusher-1.0.1.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| FlaskPusher-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for FlaskPusher-1.0.1-py3-none-any.whl |
| FlaskPusher-1.0.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for FlaskPusher-1.0.1-py2.py3-none-any.whl |
| FlaskPusher-1.0.1-py2-none-any.whl | Python 2 | none | any | Details for FlaskPusher-1.0.1-py2-none-any.whl |
Total release size: 13.2 kB
Release files / FlaskPusher-1.0.1.tar.gz
| Download URL | FlaskPusher-1.0.1.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
31d89f07f8e6ad29f3b8c42a6147d390cb1b6b177006a016e6409304bd486ab3
|
|
BLAKE2b-256 checksum How to use checksums |
838081ef938b7807d4bb7fa381f7d0c57cf5f7c8b3d1d16f50d1ab6b412f706f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / FlaskPusher-1.0.1-py3-none-any.whl
| Download URL | FlaskPusher-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3297b6d1d4dc6ee224927a57f147e5edfa4fdea9fb221a5576efbc8986c83caf
|
|
BLAKE2b-256 checksum How to use checksums |
207a0c72e481c55cff6f107244d21743b59faef6a0fb468c1bb41828cc759cb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / FlaskPusher-1.0.1-py2.py3-none-any.whl
| Download URL | FlaskPusher-1.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
0143834d8a065c4ec59a25199b02b389f83bbb0ab2b4902214b47b0524d54785
|
|
BLAKE2b-256 checksum How to use checksums |
442a1661ed658c6f6867b75b36d74aff5c4bd98f487477c1ac80efd8a00f91a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / FlaskPusher-1.0.1-py2-none-any.whl
| Download URL | FlaskPusher-1.0.1-py2-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
2668acc4e7807fd0eab15bc1c502e522d32e70f957ff27e9c383a653c1ce44eb
|
|
BLAKE2b-256 checksum How to use checksums |
f652ee4547534cb0d49053f3071f2fa82bb54c7b0ce0e99ed2015e3a89da7586
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for FlaskPusher 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.