{"adoption": {"forks": 603, "observed_at": "2026-08-28T04:09:28.180768+00:00", "stars": 5714}, "canonical_url": "https://ross.abutalabs.com/products/python-websockets-websockets", "card": {"archived": false, "artifact_type": "library", "description": "Library for building WebSocket servers and clients in Python", "domain": ["web-development", "backend", "networking"], "enriched": true, "function": ["websocket", "http-server", "http-client", "concurrency"], "health_score": 100, "homepage": "https://websockets.readthedocs.io/", "language": "Python", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "stable", "member_repos": ["python-websockets/websockets"], "name": "python-websockets/websockets", "platform": ["python", "cross-platform"], "pushed_at": "2026-08-26T06:06:33+00:00", "repo": "python-websockets/websockets", "stars": 5714, "tags": ["asyncio", "trio", "threading", "sans-io", "real-time-communication", "real-time"], "topics": ["python", "python3", "websocket", "websockets", "websocket-client", "websocket-server", "websocket-library"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/python-websockets-websockets", "repo": "python-websockets/websockets", "role": "main", "score": 99}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:28.180768+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:53:29.522398+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e83d290cc1b0ab138c097dbe735d493586a6e2c6b3250a46d7ed5e803578297", "fetched_at": "2026-08-28T04:09:28.180768+00:00", "kind": "readme", "missing": false, "url": "https://github.com/python-websockets/websockets"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:28.180768+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:53:29.522398+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e83d290cc1b0ab138c097dbe735d493586a6e2c6b3250a46d7ed5e803578297", "fetched_at": "2026-08-28T04:09:28.180768+00:00", "kind": "readme", "missing": false, "url": "https://github.com/python-websockets/websockets"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:53:29.522398+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e83d290cc1b0ab138c097dbe735d493586a6e2c6b3250a46d7ed5e803578297", "fetched_at": "2026-08-28T04:09:28.180768+00:00", "kind": "readme", "missing": false, "url": "https://github.com/python-websockets/websockets"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:09:28.180768+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:28.180768+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:28.180768+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:53:29.522398+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e83d290cc1b0ab138c097dbe735d493586a6e2c6b3250a46d7ed5e803578297", "fetched_at": "2026-08-28T04:09:28.180768+00:00", "kind": "readme", "missing": false, "url": "https://github.com/python-websockets/websockets"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:28.180768+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:28.180768+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:53:29.522398+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e83d290cc1b0ab138c097dbe735d493586a6e2c6b3250a46d7ed5e803578297", "fetched_at": "2026-08-28T04:09:28.180768+00:00", "kind": "readme", "missing": false, "url": "https://github.com/python-websockets/websockets"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:28.180768+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:28.180768+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:28.180768+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:53:29.522398+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e83d290cc1b0ab138c097dbe735d493586a6e2c6b3250a46d7ed5e803578297", "fetched_at": "2026-08-28T04:09:28.180768+00:00", "kind": "readme", "missing": false, "url": "https://github.com/python-websockets/websockets"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:28.180768+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:28.180768+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:53:29.522398+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e83d290cc1b0ab138c097dbe735d493586a6e2c6b3250a46d7ed5e803578297", "fetched_at": "2026-08-28T04:09:28.180768+00:00", "kind": "readme", "missing": false, "url": "https://github.com/python-websockets/websockets"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:53:29.522398+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e83d290cc1b0ab138c097dbe735d493586a6e2c6b3250a46d7ed5e803578297", "fetched_at": "2026-08-28T04:09:28.180768+00:00", "kind": "readme", "missing": false, "url": "https://github.com/python-websockets/websockets"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:53:29.522398+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e83d290cc1b0ab138c097dbe735d493586a6e2c6b3250a46d7ed5e803578297", "fetched_at": "2026-08-28T04:09:28.180768+00:00", "kind": "readme", "missing": false, "url": "https://github.com/python-websockets/websockets"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:53:29.522398+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e83d290cc1b0ab138c097dbe735d493586a6e2c6b3250a46d7ed5e803578297", "fetched_at": "2026-08-28T04:09:28.180768+00:00", "kind": "readme", "missing": false, "url": "https://github.com/python-websockets/websockets"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 99}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4904, "days_push": 7, "days_rel": 7, "gap_med": 26, "n_releases_24m": 12}, "score": 99, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}