Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> python >> python3-socketio
nabia  ] [  aramo  ]
[ 原始碼: python-socketio  ]

套件: python3-socketio (4.4.0-2)

python3 implementation of the Socket.IO realtime client and server

Socket.IO is a transport protocol that enables real-time bidirectional event-based communication between clients (typically, though not always, web browsers) and a server. The official implementations of the client and server components are written in JavaScript. This package provides Python implementations of both, each with standard and asyncio variants.

Client Features:

Can connect to other Socket.IO compliant servers besides the one in this package. Compatible with Python 3.5+. Two versions of the client, one for standard Python and another for asyncio. Uses an event-based architecture implemented with decorators that hides the details of the protocol. Implements HTTP long-polling and WebSocket transports. Automatically reconnects to the server if the connection is dropped.

Server Features:

Can connect to servers running other compliant Socket.IO clients besides the one in this package. Compatible with Python 3.5+. Two versions of the server, one for standard Python and another for asyncio. Supports large number of clients even on modest hardware due to being asynchronous. Can be hosted on any WSGI and ASGI web servers includind Gunicorn, Uvicorn, eventlet and gevent. Can be integrated with WSGI applications written in frameworks such as Flask, Django, etc. Can be integrated with aiohttp, sanic and tornado asyncio applications. Broadcasting of messages to all connected clients, or to subsets of them assigned to rooms. Optional support for multiple servers, connected through a messaging queue such as Redis or RabbitMQ. Send messages to clients from external processes, such as Celery workers or auxiliary scripts. Event-based architecture implemented with decorators that hides the details of the protocol. Support for HTTP long-polling and WebSocket transports. Support for XHR2 and XHR browsers. Support for text and binary messages. Support for gzip and deflate HTTP compression. Configurable CORS responses, to avoid cross-origin problems with browsers.

其他與 python3-socketio 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-engineio
    python3 implementation of the Engine.IO realtime server
  • dep: python3-six (>= 1.9.0)
    Python 2 and 3 compatibility library (Python 3 interface)

下載 python3-socketio

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 57.8 kB247 kB [文件列表]