Modern WebSocket support for Flask.
Find a file
Miguel Grinberg bbc58f0d03
All checks were successful
build / tests-3.10 (push) Successful in 1m16s
build / tests-3.11 (push) Successful in 1m8s
build / lint (push) Successful in 2m1s
build / tests-3.12 (push) Successful in 1m9s
build / zizmor (push) Successful in 10s
build / tests-3.13 (push) Successful in 1m13s
build / tests-3.14 (push) Successful in 1m18s
build / tests-pypy-3.11 (push) Successful in 2m42s
Forgejo migration
2026-08-29 20:25:51 +01:00
.forgejo/workflows Forgejo migration 2026-08-29 20:25:51 +01:00
docs Remove unused import in documentation example (#43) 2022-12-29 00:56:58 +00:00
examples Clock example (Fixes #45) 2023-02-07 23:26:20 +00:00
src/flask_sock Avoid crashes on WebSocket exit in debug mode (Fixes #70) 2023-10-02 00:20:58 +01:00
tests Option to attach WebSocket route to a blueprint 2022-12-24 20:10:55 +00:00
.gitignore Initial commit 2021-03-27 16:39:26 +00:00
.readthedocs.yaml Forgejo migration 2026-08-29 20:25:51 +01:00
CHANGES.md Release 0.7.0 2023-10-02 23:32:34 +01:00
CODE_OF_CONDUCT.md Forgejo migration 2026-08-29 20:25:51 +01:00
CONTRIBUTING.md Forgejo migration 2026-08-29 20:25:51 +01:00
LICENSE Initial commit 2021-03-27 16:39:26 +00:00
MANIFEST.in Migrate Python package metadata to pyproject.toml 2023-10-15 12:56:58 +01:00
pyproject.toml Migrate Python package metadata to pyproject.toml 2023-10-15 12:56:58 +01:00
README.md Forgejo migration 2026-08-29 20:25:51 +01:00
SECURITY.md Forgejo migration 2026-08-29 20:25:51 +01:00
tox.ini tox configuration 2026-05-14 23:20:25 +01:00

Flask-Sock

tests

WebSocket support for Flask. What makes this extension different than others is that it does not require a greenlet based server (gevent, eventlet) to work.

This WebSocket implementation is compatible with the Flask development web server. For a production deployment it can be used with Gunicorn, Eventlet or Gevent.

Resources

Sponsor this project

This project relies on contributions from its users. If you benefit from it please consider making a single or ongoing monetary contribution in one of the following platforms:

Thank you!