Comparison
autobahn vs python-socketio vs trio-websocket vs ws4py
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 9 days ago, commits in 13 of the last 26 weeks. A safe choice.
pip install autobahnSocket.IO server and client for Python
Actively maintained. Last release 2 days ago. A safe choice.
pip install python-socketioWebSocket 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 and server library for Python 2 and 3 as well as PyPy
Low maintenance activity. Last release 24 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install ws4pyIn short
- python-socketio is the most used: 28.1M downloads a month.
- Maintenance is comparable: python-socketio 84, autobahn 82, ws4py 34, trio-websocket 24 on Pythie’s Index.
- ws4py is growing fastest: downloads +16% over the last month.
- Safe default for a new project: python-socketio.
Side by side
| Metric | autobahn | python-socketio | trio-websocket | ws4py |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | Pythie’s Index: 84 | Pythie’s Index: 24 | Pythie’s Index: 34 |
| Verdict | Actively maintained | Actively maintained | Low maintenance activity | Low maintenance activity |
| Downloads / month | 7.9M | 28.1M | 25.3M | 246.9K |
| Downloads, month over month | -15% | +4% | -11% | +16% |
| GitHub stars | 2.5K | – | 81 | 1.1K |
| Stars, last 7 days | +0 | – | +0 | +0 |
| Direct dependents | 110 | 658 | 66 | 41 |
| Last release | Nov 25, 2026 | Dec 2, 2026 | Feb 25, 2025 | Dec 19, 2024 |
| Releases, 12 months | 9 | 11 | 0 | 0 |
| Weeks with commits | 13 / 26 | – | 0 / 26 | 2 / 26 |
| Recent contributors | 1 | – | 11 | 25 |
| First release | Aug 2011 | Jul 2015 | Sep 2018 | Sep 2013 |
| Python versions | 3.11 – 3.14 | – | 3.8 – 3.13 | 3.6 – 3.12 |
| 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.