Comparison
autobahn vs trio-websocket vs 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 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 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 ws4pyIn short
- websocket looks abandoned: avoid it for new projects.
- trio-websocket is the most used: 25.2M downloads a month, 3.3× more than autobahn.
- autobahn is better maintained: Pythie’s Index 82 against 24.
- ws4py is growing fastest: downloads +14% over the last month.
Side by side
| Metric | autobahn | trio-websocket | websocket | ws4py |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | Pythie’s Index: 24 | Pythie’s Index: 19 | Pythie’s Index: 32 |
| Verdict | Actively maintained | Low maintenance activity | Likely abandoned | Low maintenance activity |
| Downloads / month | 7.7M | 25.2M | 274.6K | 238.8K |
| Downloads, month over month | -15% | -9% | +44% | +14% |
| GitHub stars | 2.5K | 81 | – | 1.1K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 110 | 66 | 107 | 41 |
| Last release | Nov 25, 2026 | Feb 25, 2025 | Dec 3, 2010 | Dec 19, 2024 |
| Releases, 12 months | 9 | 0 | 0 | 0 |
| Weeks with commits | 17 / 26 | 0 / 26 | – | 2 / 26 |
| Recent contributors | 1 | 11 | – | 25 |
| First release | Aug 2011 | Sep 2018 | Dec 2010 | 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.