python-websocket
CommunityBuild robust FastAPI WebSocket features.
Authoranicdh
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Real-time client communication in FastAPI using WebSockets with safe connection handling, room-based broadcasting, and message validation.
Core Features & Use Cases
- Connection patterns for WebSocket endpoints
- Room/Channel broadcasting with cleanup
- Pydantic models for message validation
- JWT-based upgrade authentication and secure access
- Heartbeat/ping-pong to detect dead connections
- Testing strategies and graceful disconnect handling
Quick Start
Implement a real-time WebSocket endpoint in FastAPI following the patterns shown and validate it with a test client.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: python-websocket Download link: https://github.com/anicdh/agstack/archive/main.zip#python-websocket Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.