awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
python-websockets avatar

python-websockets/websockets

0
View on GitHub↗
5,692 Stars·593 Forks·Python·BSD-3-Clause·2 Aufrufewebsockets.readthedocs.io↗

Websockets

websockets is a Python library that provides both client and server implementations for the WebSocket protocol, enabling real-time, bidirectional communication between applications. At its core, it offers the fundamental primitives for establishing persistent connections, managing their lifecycles, and exchanging text or binary messages asynchronously using coroutines.

The library distinguishes itself through comprehensive support for various messaging patterns, including broadcast messaging to all connected clients, targeted messaging to specific clients, and shared application state synchronization across multiple connections. It also includes a command-line interactive client for testing and debugging WebSocket endpoints directly from the terminal.

Beyond the core protocol implementation, websockets provides production deployment guidance across multiple platforms and environments, including Kubernetes, Fly.io, Heroku, and Koyeb, as well as configurations for reverse proxies like HAProxy and process managers like Supervisor. The documentation covers TLS setup, load balancing, and other production considerations for running WebSocket servers reliably.

Features

  • WebSocket Servers - Provides a server-side implementation for starting a WebSocket listener and handling messages asynchronously using coroutines.
  • Broadcast Messaging - Supports sending a message from the server to every currently connected WebSocket client simultaneously.
  • Websocket Connection Managers - Handles WebSocket connection lifecycle including opening, closing, and error recovery to keep application code simple.
  • Real-Time Connections - Establishes persistent bidirectional connections between servers and clients for real-time message exchange.

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI
  • Text and Binary Message Exchanges - Enables bidirectional transmission of both UTF-8 text and raw binary messages over open WebSocket connections.
  • WebSocket Clients - Provides client-side functionality to initiate WebSocket connections and exchange messages bidirectionally with remote servers.
  • WebSocket Message Interception - Enables sending and receiving text or binary messages through an open WebSocket connection in either direction.
  • WebSocket Deployments - Provides guidance for packaging and deploying a WebSocket server with its frontend to a production web environment.
  • WebSocket Reverse Proxy Deployments - Documents how to route WebSocket traffic through a reverse proxy by translating the Upgrade handshake and forwarding frames.
  • Production Configurations - Provides comprehensive production deployment guidance including TLS, reverse proxies, and process management for WebSocket servers.
  • Targeted WebSocket Messaging - Supports directing messages from the server to a particular connected client using a routing key or identifier.
  • WebSocket Terminal Clients - Ships a command-line interactive client for testing and debugging WebSocket endpoints directly from the terminal.
  • WebSocket State Synchronization - Synchronizes application state across multiple WebSocket connections to support collaborative features.
  • Websockets - Listed in the “Websockets” section of the Awesome Python awesome list.
  • WebSocket - A library for building WebSocket servers and clients.
  • Star-Verlauf

    Star-Verlauf für python-websockets/websocketsStar-Verlauf für python-websockets/websockets

    Open-Source-Alternativen zu Websockets

    Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Websockets.
    • aaugustin/websocketsAvatar von aaugustin

      aaugustin/websockets

      5,692Auf GitHub ansehen↗

      websockets is a Python library for building WebSocket servers and clients using coroutines and the asyncio framework. It provides a complete toolkit for creating production-ready WebSocket applications, including a coroutine-based framework for handling connections, messages, and lifecycle events, as well as a client library for opening persistent bidirectional connections to remote endpoints. The library manages the full lifecycle of WebSocket connections, including handshake, message exchange, and graceful closure, with support for path-based routing to organize server logic across multiple

      Python
      Auf GitHub ansehen↗5,692
    • partykit/partykitAvatar von partykit

      partykit/partykit

      5,644Auf GitHub ansehen↗

      PartyKit is a serverless WebSocket backend platform for building real-time multiplayer applications. It provides a globally distributed edge computing runtime that runs stateful server code close to users, with automatic scaling and hibernation for idle rooms. The platform handles WebSocket connections, HTTP requests, and durable storage without requiring infrastructure management, and includes a client and server SDK with hooks, storage, and Yjs integration for building collaborative features. The platform distinguishes itself through per-room isolation using Durable Objects, where each uniq

      TypeScriptbackendscollaborationcrdts
      Auf GitHub ansehen↗5,644
    • olahol/melodyAvatar von olahol

      olahol/melody

      4,066Auf GitHub ansehen↗

      Melody is a WebSocket server framework designed to upgrade HTTP connections into bidirectional streams. It functions as a session manager and binary streaming library that facilitates real-time data exchange between a server and multiple remote clients. The project features a broadcast engine that optimizes multi-client transmissions through wire-representation caching. It includes a dedicated session management system for attaching custom state to persistent network connections and an upgrade handler that validates handshake headers. The framework covers broad capability areas including eve

      Goexampleframeworkgo
      Auf GitHub ansehen↗4,066
    • vi/websocatAvatar von vi

      vi/websocat

      8,571Auf GitHub ansehen↗

      Websocat is a specialized set of command-line tools for WebSocket communication, acting as a client, server, and stream processor. It provides a terminal-based interface for connecting to WebSocket servers, hosting secure WebSocket servers, and bridging data between WebSockets and other network transports. The project distinguishes itself by functioning as a bidirectional network relay, allowing the routing of data between WebSocket streams, TCP sockets, UNIX sockets, and standard system input and output. It includes specialized implementations for SOCKS5 and HTTP proxying, as well as a strea

      Rustclicommand-linecommand-line-tool
      Auf GitHub ansehen↗8,571
    Alle 30 Alternativen zu Websockets anzeigen→

    Häufig gestellte Fragen

    Was macht python-websockets/websockets?

    websockets is a Python library that provides both client and server implementations for the WebSocket protocol, enabling real-time, bidirectional communication between applications. At its core, it offers the fundamental primitives for establishing persistent connections, managing their lifecycles, and exchanging text or binary messages asynchronously using coroutines.

    Was sind die Hauptfunktionen von python-websockets/websockets?

    Die Hauptfunktionen von python-websockets/websockets sind: WebSocket Servers, Broadcast Messaging, Websocket Connection Managers, Real-Time Connections, Text and Binary Message Exchanges, WebSocket Clients, WebSocket Message Interception, WebSocket Deployments.

    Welche Open-Source-Alternativen gibt es zu python-websockets/websockets?

    Open-Source-Alternativen zu python-websockets/websockets sind unter anderem: aaugustin/websockets — websockets is a Python library for building WebSocket servers and clients using coroutines and the asyncio framework.… partykit/partykit — PartyKit is a serverless WebSocket backend platform for building real-time multiplayer applications. It provides a… olahol/melody — Melody is a WebSocket server framework designed to upgrade HTTP connections into bidirectional streams. It functions… vi/websocat — Websocat is a specialized set of command-line tools for WebSocket communication, acting as a client, server, and… boostorg/beast — Beast is a C++ library for implementing low-level HTTP and WebSocket clients and servers. It functions as an… websockets/ws — This project is a Node.js WebSocket library that provides a high-performance client and server implementation for the…