$npx skillfedfor your agent

Flask-SocketIO

Socket.IO integration for Flask applications

Worth itPyPI Dynamic ContentReleased Feb 20265.2M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — flask_socketio-5.6.1-py3-none-any.whl
v5.6.1 · released 2026-02-21 · Python >=3.8 · 7 runtime deps: blinker, click, flask, Flask, jinja2, python-socketio, werkzeug

Yes. Flask-SocketIO is actively maintained, has low install friction, carries a permissive MIT license, and solves a real problem—adding WebSocket support to Flask with minimal boilerplate. It's in the top 5000 packages by downloads and has no known vulnerabilities. Install it if you need real-time bidirectional communication in a Flask app.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later; production deployment typically needs a production WSGI server and may require additional configuration for WebSocket support.
  • Low friction install with a pure-Python wheel.
  • Actively maintained with recent releases; last commit 2026-07-30 and 5508 repository stars indicate ongoing support.

License · maintenance · safety

permissive license (permissive) — MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2026-02-21 (174 days) · last repo commit 2026-07-30 · 5,508 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 5,242,836 downloads/mo, #2,130 on PyPI

Verify before relying

pip install flask-socketio

from flask import Flask
from flask_socketio import SocketIO, emit

app = Flask(__name__)
app.config['SECRET_KEY'] = 'secret!'
socketio = SocketIO(app)

@socketio.event
def my_event(message):
    emit('my_response', {'data': 'got it!'})

if __name__ == '__main__':
    socketio.run(app)
  • Whether the package handles reconnection and fallback transports automatically or requires manual configuration.
  • Performance characteristics and scalability limits for concurrent connections.
  • Specific deployment requirements beyond standard Flask WSGI servers.
Same gist for agents: .md · .json

What it is and what it does

Flask-SocketIO bridges Flask applications with Socket.IO, a library that enables real-time, event-driven communication between server and client over WebSockets. It wraps the python-socketio package and integrates it into Flask's request/response model, letting you define event handlers as decorators and emit messages bidirectionally. The package depends on flask, python-socketio, werkzeug, jinja2, click, and blinker—all standard Flask ecosystem components.

Typical use is defining server-side event handlers with @socketio.event decorators, then running the app with socketio.run() instead of app.run(). Clients connect via a JavaScript Socket.IO client library and exchange JSON-serializable messages. This pattern is common for live dashboards, collaborative tools, notifications, and any application where the server needs to push updates to connected clients without polling.

Use it for

  • Build live notification systems where the server pushes alerts to connected browsers in real time.
  • Create collaborative editing or whiteboarding applications with instant synchronization across clients.
  • Implement live dashboards and monitoring interfaces that update without page refresh.
  • Add real-time chat or messaging features to Flask web applications.
  • Stream live data (stock prices, sensor readings, game state) to multiple clients simultaneously.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Flask-SocketIO is actively maintained, has low install friction, carries a permissive MIT license, and solves a real problem—adding WebSocket support to Flask with minimal boilerplate. It's in the top 5000 packages by downloads and has no known vulnerabilities. Install it if you need real-time bidirectional communication in a Flask app.

Install

flask-socketio on PyPI

Before you install

Low friction install with a pure-Python wheel. Actively maintained with recent releases; last commit 2026-07-30 and 5508 repository stars indicate ongoing support.

Requires Python 3.8 or later; production deployment typically needs a production WSGI server and may require additional configuration for WebSocket support.

License in practice

MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install flask-socketio

from flask import Flask
from flask_socketio import SocketIO, emit

app = Flask(__name__)
app.config['SECRET_KEY'] = 'secret!'
socketio = SocketIO(app)

@socketio.event
def my_event(message):
    emit('my_response', {'data': 'got it!'})

if __name__ == '__main__':
    socketio.run(app)

Verify before relying

  • Whether the package handles reconnection and fallback transports automatically or requires manual configuration.
  • Performance characteristics and scalability limits for concurrent connections.
  • Specific deployment requirements beyond standard Flask WSGI servers.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
7 packages
blinkerclickflaskFlaskjinja2python-socketiowerkzeug
MaintenanceActively maintained 174 days since the last release
Last repo commit
First released
Downloads5,242,836 / month, #2,130 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Environment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Evidence: flask_socketio-5.6.1-py3-none-any.whl

Tags

Capabilities
websocket flaskreal-time communication pythonsocket.io flask integrationbidirectional messaging weblive event streaming flaskwebsocket server pythonflask real-time events
Topics
websocketreal-timeevent-driven

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “real-time communication python”

  • Flask-SocketIOFlask-SocketIO adds real-time bidirectional communication to Flask…
  • ws4pyws4py implements the WebSocket protocol (RFC 6455) for Python,…
  • lcmLCM provides publish/subscribe message passing and automatic data…

Give your agent the search over MCP, or paste the wish link into any chat.

More Dynamic Content packages

MarkupSafe Worth it
PyPI · Dynamic Content · released Sep 2025

MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.

BSD-3-Clausecompiled wheel · 3.9+aging
797.1Mdownloads / mo
Jinja2 Worth it
PyPI · Dynamic Content · released Mar 2025

Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.

BSD-3-Clausepure Python · 3.7+aging
718.6Mdownloads / mo
soupsieve Worth it
PyPI · Python Modules · released Aug 2026

Soupsieve is a CSS selector library designed to work with Beautiful Soup 4 to select, match, and filter HTML and XML elements using modern CSS selectors from CSS level 1 through CSS level 4 specifications.

Install it if you use Beautiful Soup for HTML or XML parsing and want modern CSS selector support.

MITpure Python · 3.10+
428.6Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo
Flask Worth it
PyPI · Application Frameworks · released Feb 2026

Flask is a lightweight WSGI web application framework for building web applications in Python, from simple single-page sites to complex multi-route applications.

BSD-3-Clausepure Python · 3.9+
211.4Mdownloads / mo
Mako Worth it
PyPI · Dynamic Content · released Aug 2026

Mako compiles Python-embedded templates into Python modules for fast rendering, supporting layout inheritance, custom functions, and direct Python expressions within template syntax.

MITpure Python · 3.10+
201.7Mdownloads / mo

See also fastapi-socketio · flask-sock · python-socketio · simple-websocket · python-engineio · websocket · bottle-websocket · ws4py · gevent-websocket · websockets