Comparison
trio-websocket vs websocket-client vs ws4py vs wsproto
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
WebSocket library for Trio
Low maintenance activity. Last release 21 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install trio-websocketWebSocket client for Python with low level API options
Maintained. Last release 3 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install websocket-clientWebSocket 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-client is the most used: 176.7M downloads a month, 2.4× more than wsproto.
- websocket-client also has the best Pythie’s Index (48).
- ws4py is growing fastest: downloads +14% over the last month.
Side by side
| Metric | trio-websocket | websocket-client | ws4py | wsproto |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 24 | 48 |