Comparison
httpx-ws vs lomond vs websocket-client vs ws4py
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-wsWebsocket Client Library
Maintained. Last release 2 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install lomondWebSocket 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-clientWebSocket 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-client is the most used: 176.7M downloads a month, 16× more than httpx-ws.
- httpx-ws is better maintained: Pythie’s Index 60 against 48.
- ws4py is growing fastest: downloads +14% over the last month.
Side by side
| Metric | httpx-ws | lomond | websocket-client | ws4py |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 60 | Pythie’s Index: 57 | Pythie’s Index: 48 | Pythie’s Index: 32 |
| Verdict | Maintained | Maintained | Maintained | Low maintenance activity |
| Downloads / month | 10.9M | 676.9K | 176.7M | 238.8K |
| Downloads, month over month | +4% | +1% | -1% | +14% |
| GitHub stars | 151 | 243 | 3.7K | 1.1K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 46 | 13 | 2.1K | 41 |
| Last release | Nov 14, 2026 | Sep 18, 2026 | Aug 31, 2026 | Dec 19, 2024 |
| Releases, 12 months | 2 | 1 | 2 | 0 |
| Weeks with commits | 5 / 26 | 4 / 26 | 3 / 26 | 2 / 26 |
| Recent contributors | 9 | 2 | 20 | 25 |
| First release | Nov 2022 | Mar 2017 | Jan 2011 | Sep 2013 |
| Python versions | 3.11 – 3.15 | 3.3 – 3.13 | 3.10 – 3.14 | 3.6 – 3.12 |
| License | MIT | non-standard | 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.