wsproto
Pure Python, pure state-machine WebSocket implementation.
Pure Python, pure state-machine WebSocket implementation.
To install this package, run one of the following:
This repository contains a pure-Python implementation of a WebSocket protocol stack. It’s written from the ground up to be embeddable in whatever program you choose to use, ensuring that you can communicate via WebSockets, as defined in RFC6455, regardless of your programming paradigm.
This repository does not provide a parsing layer, a network layer, or any rules about concurrency. Instead, it’s a purely in-memory solution, defined in terms of data actions and WebSocket frames. RFC6455 and Compression Extensions for WebSocket via RFC7692 are fully supported.
Summary
Pure Python, pure state-machine WebSocket implementation.
Information Last Updated
Dec 12, 2025 at 15:43
License
MIT
Total Downloads
4.0K
Platforms
GitHub Repository
https://github.com/python-hyper/wsprotoDocumentation
https://wsproto.readthedocs.io