[PR #1678] added new item to Websocket section #1460

Open
opened 2025-11-06 13:16:42 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/vinta/awesome-python/pull/1678
Author: @Ksengine
Created: 11/17/2020
Status: 🔄 Open

Base: masterHead: wsocket


📝 Commits (1)

  • d4d7428 added new item to Websocket section

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)

📄 Description

added WSocket to list

Simple WSGI HTTP + Websocket Server, Framework, Middleware And App.

Includes

  • Server(WSGI) included - works with any WSGI framework
  • Middleware - adds Websocket support for any WSGI framework
  • Framework - simple Websocket WSGI web application framework
  • App - Event based app for Websocket communication
    When external server used some clients like Firefox requires http 1.1 Server. Middleware, Framework, App
  • Handler - adds Websocket support to wsgiref(python builtin WSGI server)
  • Client -Coming soon...

Common Features

  • only single file less than 1000 lines
  • websocket sub protocol supported
  • websocket message compression supported (works if client asks)
  • receive and send pong and ping messages(with automatic pong sender)
  • receive and send binary or text messages
  • works for messages with or without mask
  • closing messages supported
  • auto and manual close

Alternatives

Non WSGI

WSGI


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/vinta/awesome-python/pull/1678 **Author:** [@Ksengine](https://github.com/Ksengine) **Created:** 11/17/2020 **Status:** 🔄 Open **Base:** `master` ← **Head:** `wsocket` --- ### 📝 Commits (1) - [`d4d7428`](https://github.com/vinta/awesome-python/commit/d4d742816e9b1bbd8dc8b7abc925244b94f78f95) added new item to Websocket section ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) </details> ### 📄 Description # added [WSocket](https://github.com/Ksengine/wsocket) to list ## Simple WSGI HTTP + Websocket Server, Framework, Middleware And App. ## Includes - Server(WSGI) included - works with any WSGI framework - Middleware - adds Websocket support for any WSGI framework - Framework - simple Websocket WSGI web application framework - App - Event based app for Websocket communication **When external server used some clients like Firefox requires `http 1.1` Server. Middleware, Framework, App** - Handler - adds Websocket support to [wsgiref](https://docs.python.org/3/library/wsgiref.html "python builtin WSGI server")(python builtin WSGI server) - Client -Coming soon... ## Common Features - only single file less than 1000 lines - websocket sub protocol supported - websocket message compression supported (works if client asks) - receive and send pong and ping messages(with automatic pong sender) - receive and send binary or text messages - works for messages with or without mask - closing messages supported - auto and manual close ## Alternatives ### Non WSGI - [Autobahn](http://crossbar.io/autobahn/) - huge with extras - [websocket-client](https://github.com/websocket-client/websocket-client) - client only no server -[websockets](https://pypi.org/project/websockets/) - python2 not supported ### WSGI - [Django Channels](https://channels.readthedocs.io/en/stable/) - only for Django. but WSocket middleware can add support for any WSGI framework. - [Flask-SocketIO](https://flask-socketio.readthedocs.io/en/latest/) - only for Flask. - [gevent-websocket](https://pypi.org/project/gevent-websocket/) - only for Gevent Server - [ws4py](https://github.com/Lawouach/WebSocket-for-Python) - works with few servers. but WSocket works with many servers --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-06 13:16:42 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-python#1460