Comparison
autobahn vs trio-websocket vs websocket-client vs websockets
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
WebSocket client & server library, WAMP real-time framework
Actively maintained. Last release 6 days ago, commits in 17 of the last 26 weeks. A safe choice.
pip install autobahnWebSocket 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-clientAn implementation of the WebSocket Protocol (RFC 6455 & 7692)
Actively maintained. Last release 5 weeks ago, commits in 20 of the last 26 weeks. A safe choice.
pip install websocketsIn short
- websockets is the most used: 550.8M downloads a month, 3.1× more than websocket-client.
- Maintenance is comparable: websockets 86, autobahn 82, websocket-client 48, trio-websocket 24 on Pythie’s Index.
- websockets is growing fastest: downloads +12% over the last month.
- Safe default for a new project: websockets.
Side by side
| Metric | autobahn | trio-websocket | websocket-client | websockets |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | Pythie’s Index: 24 | Pythie’s Index: 48 | Pythie’s Index: 86 |
| Verdict | Actively maintained | Low maintenance activity | Maintained | Actively maintained |
| Downloads / month | 7.7M | 25.2M | 176.7M | 550.8M |
| Downloads, month over month | -15% | -9% | -1% | +12% |
| GitHub stars | 2.5K | 81 | 3.7K | 5.7K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 110 | 66 | 2.1K | 5.9K |
| Last release | Nov 25, 2026 | Feb 25, 2025 | Aug 31, 2026 | Oct 30, 2026 |
| Releases, 12 months | 9 | 0 | 2 | 9 |
| Weeks with commits | 17 / 26 | 0 / 26 | 3 / 26 | 20 / 26 |
| Recent contributors | 1 | 11 | 20 | 5 |
| First release | Aug 2011 | Sep 2018 | Jan 2011 | Nov 2013 |
| Python versions | 3.11 – 3.14 | 3.8 – 3.13 | 3.10 – 3.14 | 3.11 – 3.15 |
| License | MIT | MIT | Apache-2.0 | 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.