Comparison
simple-websocket vs websocket vs ws4py vs wsproto
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Simple WebSocket server and client for Python
Low maintenance activity. Last release over 2 years ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install simple-websocketWebsocket implementation for gevent
Likely abandoned. No release or commit for years (last release over 16 years ago).
pip install websocketWebSocket client and server library for Python 2 and 3 as well as PyPy
Low maintenance activity. Last release 23 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install ws4pyPure-Python WebSocket protocol implementation
Low maintenance activity. Last release 12 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install wsprotoIn short
- websocket looks abandoned: avoid it for new projects.
- wsproto is the most used: 72.8M downloads a month, 2.6× more than simple-websocket.
- Maintenance is comparable: ws4py 32, wsproto 30, simple-websocket 22 on Pythie’s Index.
- ws4py is growing fastest: downloads +14% over the last month.
Side by side
| Metric | simple-websocket | websocket | ws4py | wsproto |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 22 | 19 |