discovered 03 Aug 2026
websockets
→ View on GitHubwebsockets is a Python library designed for creating WebSocket servers and clients, emphasizing correctness, simplicity, robustness, and performance. Built on the asyncio framework, it offers a coroutine-based API, as well as support for threading and trio, making it suitable for various asynchronous programming needs. Notably, it ensures compliance with RFC 6455 and optimizes memory usage, making it a reliable choice for production environments.