simple-websocket
Simple WebSocket server and client for Python
Install
simple-websocket on PyPI
pip
pip install simple-websocketuv
uv add simple-websocketpoetry
poetry add simple-websocketPackage facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — wsproto |
| Maintenance | actively maintained — 672 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: simple_websocket-1.1.0-py3-none-any.whl
About simple-websocket
from the package's own PyPI description — quoted content, verbatim
simple-websocket
Build status (image) codecov (image)
Simple WebSocket server and client for Python.
Resources
Read as markdown · JSON record · Source repository · Homepage
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
simple-websocket provides a straightforward WebSocket server and client implementation for Python, enabling bidirectional communication over WebSocket connections with minimal setup.
Installation is low-friction with a single runtime dependency (wsproto) and an active maintenance status. The package was last updated 2024-10-10 with recent repository activity (last commit 2026-05-14), indicating ongoing support.
The package carries a permissive MIT license classification, meaning you can use, modify, and distribute it with minimal legal restrictions—typical for open-source libraries.
Usage
pip install simple-websocket
from simple_websocket import Server
ws = Server(environ)
data = ws.receive()
ws.send(data)
Requires Python 3.6 or later; WebSocket connections must be initiated within a valid WSGI or similar web environment context.
Verdict: simple-websocket is a well-maintained, permissively licensed WebSocket library with low installation friction and no known vulnerabilities. Its active status, top-1000 popularity tier, and straightforward dependency chain make it a reliable choice for adding WebSocket support to Python applications.
Needs verification
- Whether the package supports both server and client modes equally or if one is more mature than the other
- Performance characteristics and scalability limits for concurrent connections
- Specific WSGI framework compatibility requirements beyond the basic environ context
Similar packages
permissive · top 1,000 on PyPI
python-socketiopermissive · top 1,000 on PyPI
websocketspermissive · top 100 on PyPI
websocket-clientpermissive · top 1,000 on PyPI
wsprotopermissive · top 1,000 on PyPI
tornadopermissive · top 1,000 on PyPI
trio-websocketpermissive · top 1,000 on PyPI
uvicornpermissive · top 100 on PyPI
jupyter-clientpermissive · top 1,000 on PyPI
pywin32permissive · top 1,000 on PyPI