websockets 10.4


An implementation of the WebSocket Protocol (RFC 6455 & 7692)

An implementation of the WebSocket Protocol (RFC 6455 & 7692)

Stars: 4325, Watchers: 4325, Forks: 464, Open Issues: 26

The aaugustin/websockets repo was created 9 years ago and was last updated 5 hours ago.
The project is very popular with an impressive 4325 github stars!

How to Install websockets

You can install websockets using pip

pip install websockets

or add it to a project with poetry

poetry add websockets

Package Details

Aymeric Augustin
GitHub Repo


No  websockets  pypi packages just yet.


A list of common websockets errors.

Code Examples

Here are some websockets code examples and snippets.

GitHub Issues

The websockets package has 26 open issues on GitHub

  • 'websockets' has no attribute 'client'
  • Sequential client sends hanging in Python > 3.7 on Windows?
  • OSError: [Errno 107] Transport endpoint is not connected
  • Concurrernt write causes data corruption
  • Trying to connect creates file descriptors and doesn't free them
  • Digest Authentification support for the legacy client part only
  • Possible incompatibility with
  • No permessage-deflate header in response for Firefox
  • won't raise a ConnectionClosedError when the connection is closed by force
  • 10.1: sphinx warnings
  • Add option to disable ipv6 socket
  • How can I send message to a specific client

See more issues on GitHub

Related Packages & Articles

shopyo 4.6.0

Highly modular web framework built on top of Flask with Django advantages

testcontainers 3.7.1

Library provides lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container