# heroku-python/flask-sockets

[DEPRECATED] Alternative: https://github.com/miguelgrinberg/flask-sock

Repository: https://github.com/heroku-python/flask-sockets
Canonical: https://ross.abutalabs.com/products/flask-sockets
Language: Python
License: MIT
License Family: permissive
Archived: true
Last push: 2021-05-14T12:12:05+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4720, "days_push": 1937, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1724, forks 163 (observed 2026-08-28T04:05:28.039017+00:00)

## What it is
Flask-Sockets is a Flask extension that adds elegant WebSocket routing support to Flask apps via a decorator-based API, built on gevent and gevent-websocket. It is officially deprecated in favor of flask-sock.

## Use cases
- add websocket endpoints to a flask app
- build an echo server with websockets in python
- serve websockets alongside regular http routes in flask
- use websockets with flask blueprints
- deploy a flask websocket app with gunicorn

## When to choose
- maintaining a legacy flask app already using flask-sockets
- you need gevent-based websocket support in an old flask codebase

## When to avoid
- starting a new flask project needing websockets (use flask-sock instead)
- you need async or modern ASGI websocket support
- you want an actively maintained library

## Facets
- artifact type: library
- maturity: abandoned
- function: websocket, routing, middleware
- domain: web-development, backend
- platform: python
- tags: flask, deprecated, gevent, websockets, real-time, web-server

## Member repositories
- heroku-python/flask-sockets (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:28.039017+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:33:54.760737+00:00, confidence not recorded.
  - readme: https://github.com/heroku-python/flask-sockets (fetched 2026-08-28T04:05:28.039017+00:00, sha 6bfa87994928)
- Data as of 2026-08-30T08:39:29.467469+00:00.
