Skip to main content

quart-events

PyPI version Python Versions License: MIT

Usage

quart_events.EventBroker loads a blueprint into Quart which allows clients to subscribe to events via a WebSockets. The app can then generate events that can be sent to all subscribed clients in real-time.

Please see test/app.py for an example app. This app is used when running testing via py.test but can also be run standalone.

Change Log

[0.4.2] - 2021-12-23

  • Change build system from setuptools to poetry

[0.4.0] - 2021-11-08

  • add type hints and type validation with mypy
  • requires asyncio-multisubscriber-queue 0.3.0
  • pytest plugin to facilitate capturing events while other tests are running; plugin name is quart_events_catcher
  • added optional callbacks
  • websocket auth improvements
    • token is now seemlessly managed using the user's session data
    • token has an expiration; user is disconnected from the socket upon expiration
    • a callback is available to further validate user using other criteria (like Flask-Login)

Metadata

Release files for quart-events 0.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quart-events 0.4.3
File Size Uploaded Provenance
quart_events-0.4.3.tar.gz 7.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for quart-events 0.4.3
File Interpreter ABI Platform
quart_events-0.4.3-py3-none-any.whl Python 3 none any Details

Total release size: 16.2 kB

Release files / quart_events-0.4.3.tar.gz

Download URL quart_events-0.4.3.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fc76db3326161e7dd0d33cf09580be1702461311c78092f5d21b4de9db47d906
BLAKE2b-256 checksum
How to use checksums
0b13a346d51e5cff8b67277dd02de96299e7597daf651c41b95ab88539026109
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.10.9 Linux/5.15.79.1-microsoft-standard-WSL2

Release files / quart_events-0.4.3-py3-none-any.whl

Download URL quart_events-0.4.3-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d7cf66712b46960942259d737db236f2b0f4ca096ca9ae43c4b9d9af7ba9b0d
BLAKE2b-256 checksum
How to use checksums
4318eb4d0ac080cc20f5b9e15838a3dfb3ffbfcd916354fa7b69f91002853ab0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.10.9 Linux/5.15.79.1-microsoft-standard-WSL2

Security for quart-events 0.4.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page