python-socketio
Socket.IO server and client for Python
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries a permissive MIT license, and occupies a top-1000 popularity tier with no known vulnerabilities. It is the standard choice for Socket.IO in Python. Install it if you need real-time bidirectional communication; verify protocol compatibility with your target client implementation.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later; asyncio event loop or compatible ASGI/WSGI server for server deployment.
- Low friction install with only two runtime dependencies (bidict and python-engineio).
- Actively maintained with a release 8 days ago and 4369 repository stars.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for commercial and open-source projects.
last release 2026-08-06 (8 days) · last repo commit 2026-08-09 · 4,369 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 28,644,374 downloads/mo, #832 on PyPI
Alternatives
Verify before relying
pip install python-socketio
from socketio import AsyncServer
sio = AsyncServer(async_mode='asgi')
@sio.event
async def connect(sid, environ):
print(f'Client {sid} connected')- Whether version 5.16.4 is compatible with specific JavaScript Socket.IO client versions beyond the protocol revision mapping provided.
- Performance characteristics and scalability limits for high-concurrency real-time applications.
What it is and what it does
python-socketio is a Python library that implements the Socket.IO protocol for real-time, bidirectional communication between clients and servers. It provides both client and server implementations that work across multiple transport layers (WebSocket with fallbacks), making it suitable for applications requiring live data synchronization, notifications, and event-driven messaging.
The package depends on bidict for bidirectional dictionary operations and python-engineio as its underlying transport layer. Version compatibility between client and server is critical—the library maintains a protocol revision mapping to ensure compatibility with JavaScript Socket.IO implementations. The package supports current Python versions (3.8+) and has been actively maintained since 2015.
Use it for
- Build real-time chat or messaging applications with live message delivery and presence tracking.
- Create live dashboards that push data updates to multiple connected clients simultaneously.
- Implement multiplayer game servers with low-latency event synchronization between players.
- Send instant notifications to web clients without polling or manual refresh.
- Develop collaborative tools where multiple users see live updates to shared documents or state.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries a permissive MIT license, and occupies a top-1000 popularity tier with no known vulnerabilities. It is the standard choice for Socket.IO in Python. Install it if you need real-time bidirectional communication; verify protocol compatibility with your target client implementation.
Install
python-socketio on PyPI
Before you install
Low friction install with only two runtime dependencies (bidict and python-engineio). Actively maintained with a release 8 days ago and 4369 repository stars.
Requires Python 3.8 or later; asyncio event loop or compatible ASGI/WSGI server for server deployment.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for commercial and open-source projects.
Quickstart
pip install python-socketio
from socketio import AsyncServer
sio = AsyncServer(async_mode='asgi')
@sio.event
async def connect(sid, environ):
print(f'Client {sid} connected')
Verify before relying
- Whether version 5.16.4 is compatible with specific JavaScript Socket.IO client versions beyond the protocol revision mapping provided.
- Performance characteristics and scalability limits for high-concurrency real-time applications.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesbidictpython-engineio |
| Maintenance | Actively maintained 8 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 28,644,374 / month, #832 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Environment :: Web EnvironmentIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3 |
Evidence: python_socketio-5.16.4-py3-none-any.whl
Tags
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 › “socket.io python client server”
- python-socketioPython implementation of Socket.IO realtime client and server for…
- Flask-SocketIOFlask-SocketIO adds real-time bidirectional communication to Flask…
- uptime-kuma-api-v2Provides a Python client for the Uptime Kuma Socket.IO API, allowing…
Give your agent the search over MCP, or paste the wish link into any chat.
More Dynamic Content packages
MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.
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.
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.
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.
Flask is a lightweight WSGI web application framework for building web applications in Python, from simple single-page sites to complex multi-route applications.
Mako compiles Python-embedded templates into Python modules for fast rendering, supporting layout inheritance, custom functions, and direct Python expressions within template syntax.
See also Flask-SocketIO · python-engineio · simple-websocket · fastapi-socketio · wslink · ws4py · websocket · flask-sock · gevent-websocket · uptime-kuma-api-v2