# websocket-client

> WebSocket client for Python with low-level API access

Source: https://talira.ai/catalog/websocket-client-4fsk25x7
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / websockets / clients](https://talira.ai/categories/libraries/websockets/clients), [languages / python](https://talira.ai/categories/languages/python)
- Licence: Apache-2.0[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [websocket-client](https://talira.ai/orgs/websocket-client.md)

websocket-client is a WebSocket client for Python that gives access to the protocol's low-level APIs as well as a `WebSocketApp` with callbacks and automatic reconnection. It implements the hybi-13 version of the WebSocket protocol, can connect through proxies with python-socks, and gets a small speed-up from wsaccel. It's tested on Python 3.10+.

## Links

- GitHub: https://github.com/websocket-client/websocket-client
- Docs: https://websocket-client.readthedocs.io/

## Problems it solves

- connect to a WebSocket API from a Python script
- stream messages from a WebSocket server in Python
- reconnect a Python WebSocket client automatically

## Features

- low-level WebSocket API
- WebSocketApp with callbacks and automatic reconnection
- proxy support through python-socks
- optional wsaccel speed-up

## Limitations

- Doesn't support the permessage-deflate compression extension (RFC 7692).[^1]

## Trust

Overall: 0.60 out of 1.
Signals: maintenance 0.78, adoption 0.71, momentum 0.40, community 0.95, backing 0.30, extensibility 0.00.

- last commit 41 days ago
- 50 commits in the last 90 days
- latest release v1.10.0 39 days ago
- 3.7k GitHub stars
- 237 contributors
- has a company behind it

## Alternatives

- [websockets](https://talira.ai/catalog/websockets-m5pe98dt.md): Library for building WebSocket servers and clients in Python

## Sources

[^1]: https://github.com/websocket-client/websocket-client/blob/master/README.md (checked 29 Nov 2026)
[^2]: https://github.com/websocket-client/websocket-client/blob/master/LICENSE (checked 29 Nov 2026)
