WebSockets & Realtime Packages
Realtime communication libraries for WebSockets, pub/sub channels, and live data sync — the building blocks behind chat, presence, and collaborative UIs.
Packages in WebSockets & Realtime
Kind
Sort:Used by Most Apps
Uvicorn
A lightning-fast ASGI server for Python, built on uvloop and httptools.
aiohttp
Asynchronous HTTP client and server framework for Python's asyncio, covering both API calls and building web/WebSocket services.
websocket
A fast, RFC 6455-compliant WebSocket implementation for Go with full control over framing, compression, and concurrency.
websockets
Build correct, fast WebSocket servers and clients in Python with asyncio, threading, or Sans-I/O APIs.
tokio-tungstenite
Asynchronous, Tokio-native WebSocket streams built on tungstenite
Slack SDK for Python
The official Python SDK for building apps, bots, and integrations on the Slack Platform.
graphql-ws
Zero-dependency server and client implementing the GraphQL over WebSocket Protocol
Actix Web
A powerful, pragmatic, and extremely fast web framework for Rust
websocket-client
A low-level, dependency-free WebSocket client for Python supporting both synchronous and event-driven connections.
python-socketio
Python implementation of the Socket.IO realtime protocol for both servers and clients.
@rails/actioncable
The client-side JavaScript half of Action Cable, Rails' full-stack framework for building WebSocket-powered realtime features.
Tornado
Python web framework and asynchronous networking library built for high concurrency
sockjs-client
Browser WebSocket emulation library that automatically falls back across streaming and polling transports for reliable realtime connections.
python-engineio
Python implementation of the Engine.IO realtime transport protocol powering Socket.IO servers and clients.
Baileys
A TypeScript library that talks to WhatsApp Web directly over WebSockets, no browser or Selenium required.
Flask-SocketIO
Socket.IO integration that brings real-time WebSocket communication to Flask applications
pyzmq
Python bindings for ZeroMQ, the lightweight messaging library for building distributed, concurrent, and asynchronous applications.
Autobahn|Python
WebSocket and WAMP protocol implementation for Python, running natively on both Twisted and asyncio.
isomorphic-ws
A drop-in isomorphic WebSocket client that exposes one identical API in Node.js and browsers.
Ratchet
Build realtime, bi-directional WebSocket applications between clients and servers in PHP.
aiortc
A pure-Python implementation of WebRTC and ORTC built on asyncio, for real-time audio, video, and data channel communication.
Nostr SDK
A full-featured Rust SDK for building high-performance clients and in-process relays on the Nostr protocol
deepgram-python-sdk
Official Python SDK for Deepgram's speech-to-text, text-to-speech, and voice agent APIs, with sync, async, and WebSocket support.
uptime-kuma-api
A Python client for automating Uptime Kuma over its Socket.IO API instead of clicking through the web UI.