talira

Compare

websocket-clientwebsockets
What it isWebSocket client for Python with low-level API accessLibrary for building WebSocket servers and clients in Python
KindOpen sourceOpen source
Trust0.600.67
Stars37105748
Last commit2026-10-202026-11-14
LicenceApache-2.0BSD-3-Clause
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostable——
Ways to run it——
SOC 2——
HIPAA——
SSO——
API——
Plugins——
MCP server——
Companywebsocket-clientAymeric Augustin
Features
  • low-level WebSocket API
  • WebSocketApp with callbacks and automatic reconnection
  • proxy support through python-socks
  • optional wsaccel speed-up
  • WebSocket servers and clients for Python
  • coroutine API on asyncio, plus threading and trio implementations
  • Sans-I/O layer for integration in other projects
  • compliance with RFC 6455 and RFC 7692 compression, with 100% branch coverage
  • handles backpressure
  • C extension, pre-built for Linux, macOS and Windows
Limitations
  • Doesn't support the permessage-deflate compression extension (RFC 7692).
  • It has no callback-based API: pick another library if you prefer callbacks over coroutines.
  • Its HTTP support is minimal, just enough for a health check; for HTTP and WebSocket in one server, use a server built on it such as Uvicorn.