Comparison
simple-websocket vs trio-websocket vs websocket vs websockets
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 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 implementation for gevent
Likely abandoned. No release or commit for years (last release over 16 years ago).
pip install websocketAn implementation of the WebSocket Protocol (RFC 6455 & 7692)
Actively maintained. Last release 5 weeks ago, commits in 19 of the last 26 weeks. A safe choice.
pip install websocketsIn short
- websocket looks abandoned: avoid it for new projects.
- websockets is the most used: 550.8M downloads a month, 19× more than simple-websocket.
- websockets also has the best Pythie’s Index (86).
- websockets is growing fastest: downloads +12% over the last month.
- Safe default for a new project: websockets.
Side by side
| Metric | simple-websocket | trio-websocket | websocket | websockets |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 22 | Pythie’s Index: 24 | Pythie’s Index: 19 | Pythie’s Index: 86 |
| Verdict | Low maintenance activity | Low maintenance activity | Likely abandoned | Actively maintained |
| Downloads / month | 28.3M | 25.2M | 274.6K | 550.8M |
| Downloads, month over month | +5% | -9% | +44% | +12% |
| GitHub stars | 90 | 81 | – | 5.7K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 69 | 66 | 107 | 5.9K |
| Last release | Oct 10, 2024 | Feb 25, 2025 | Dec 3, 2010 | Oct 30, 2026 |
| Releases, 12 months | 0 | 0 | 0 | 9 |
| Weeks with commits | 1 / 26 | 0 / 26 | – | 19 / 26 |
| Recent contributors | 3 | 11 | – | 5 |
| First release | Apr 2021 | Sep 2018 | Dec 2010 | Nov 2013 |
| Python versions | – | 3.8 – 3.13 | – | 3.11 – 3.15 |
| License | MIT | MIT | MIT | BSD-3-Clause |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.