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.
Socket.IO
Bidirectional, low-latency, event-based realtime communication for Node.js and the browser.
websockets
Build correct, fast WebSocket servers and clients in Python with asyncio, threading, or Sans-I/O APIs.
Yjs
A high-performance CRDT that exposes shared data types for building conflict-free, real-time collaborative applications.
Slack SDK for Python
The official Python SDK for building apps, bots, and integrations on the Slack Platform.
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.
Tornado
Python web framework and asynchronous networking library built for high concurrency
Pusher PHP Library
The official PHP server library for triggering events, authenticating private channels, and validating webhooks against Pusher's Channels API.
iroh
A peer-to-peer networking library that dials public keys instead of IP addresses over QUIC
Loro
High-performance CRDT library that makes JSON data collaborative and version-controlled
python-engineio
Python implementation of the Engine.IO realtime transport protocol powering Socket.IO servers and clients.
Phoenix
The official JavaScript client for Phoenix Channels — multiplexed WebSocket realtime with automatic reconnection and presence tracking.
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.
centrifuge-js
Real-time JavaScript SDK for connecting browser, Node.js, and React Native apps to Centrifugo and Centrifuge servers.
agents
A Python framework for building realtime, multimodal voice AI agents that can see, hear, and speak.
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.
Pusher Channels HTTP (Python)
Trigger realtime events and manage Pusher Channels from your Python server.