websockets

websockets

WebSocket servers and clients in Python

Description

Building real-time chat or price feeds in Python, WebSocket protocol details and concurrency are easy to get wrong. websockets is a library for building WebSocket servers and clients in Python.

Built on asyncio, it implements the spec correctly with a simple, stable API.

Features



Server and client:Both.

asyncio:Concurrent.

Correct:Spec-compliant.

Simple:Easy start.