Comparison
httpx-ws vs simple-websocket vs websocket vs websocket-client
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
WebSockets support for HTTPX
Maintained. Last release 2 weeks ago, commits in 5 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install httpx-wsSimple 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 implementation for gevent
Likely abandoned. No release or commit for years (last release over 16 years ago).
pip install 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-clientIn short
- websocket looks abandoned: avoid it for new projects.
- websocket-client is the most used: 176.7M downloads a month, 6.3× more than simple-websocket.
- httpx-ws is better maintained: Pythie’s Index 60 against 48.
Side by side
| Metric | httpx-ws | simple-websocket | websocket | websocket-client |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 60 | 22 |