Ross ROSS = Recommend OSS · open-source software intelligence for agents

python-websockets/websockets

Library for building WebSocket servers and clients in Python observed · 2026-08-28

github.com/python-websockets/websockets · homepage · Python · BSD-3-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

99/100

  • Activity 99
  • Release rhythm 99
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 26
  • age_days: 4904
  • days_rel: 7
  • days_push: 7
  • n_releases_24m: 12

Full methodology

Adoption not part of the score

5714 stars · 603 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

websockets is a Python library for building WebSocket servers and clients, with a focus on correctness, simplicity, robustness, and performance. It provides coroutine-based asyncio, threading, and trio implementations, plus a Sans-I/O layer for embedding in other projects.

Use cases

  • build a websocket server in python
  • connect to a websocket endpoint from python
  • stream real-time messages between client and server
  • add bidirectional communication to a python backend
  • implement a websocket client with threading
  • embed websocket protocol handling in another library

When to choose

  • you need a mature, well-tested WebSocket implementation in Python
  • you want asyncio-based coroutine APIs for concurrent connections
  • you need flexibility across asyncio, trio, or threading
  • you want a Sans-I/O layer to integrate WebSocket handling into your own stack

When to avoid

  • you only need simple HTTP request/response without WebSockets
  • you are building a browser or non-Python client
  • you need a full web framework with routing and templating rather than just WebSocket support

Facets

library · maturity stable

websocket http-server http-client concurrency web-development backend networking python cross-platform asyncio trio threading sans-io real-time-communication real-time

1 source

Member repositories

RepositoryRoleHealth v2
python-websockets/websocketsmain99

For agents

markdown · JSON · MCP: product_card(name="python-websockets/websockets")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem