Python Websockets

Open-source Python projects categorized as Websockets

Top 23 Python Websocket Projects

  • starlette

    The little ASGI framework that shines. 🌟

    Project mention: How to use FastAPI for microservices in Python | | 2023-01-29

    The framework's official website mentions a number of pros of FastAPI. In my opinion, the most useful features from a microservice perspective are: the simplicity of code (easy to use and avoid boilerplate), high operational capacity thanks to Starlette and Pydantic and compatibility with industry standards - OpenAPI and JSON Schema.

  • python-binance

    Binance Exchange API python implementation for automated trading

    Project mention: ccxt binance help | | 2022-08-31
  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • websockets

    Library for building WebSocket servers and clients in Python

    Project mention: Contributing to WebSockets – Cryptocurrency Users | | 2022-07-20

    And yet there were issues opened which specifically reference cryptocurrencies, such as:

  • python-slack-sdk

    Slack Developer Kit for Python

    Project mention: Is it possible to code a notification for when someone is typing in a specific slack channel? | | 2022-11-29
  • webssh

    :seedling: Web based ssh client

    Project mention: I need help executing ssh commands in nodejs (vanilla javascript) | | 2022-06-26

    I am creating a web application where i want to open ssh terminal ( with an event listener on frontend and spawn() method in backend nodejs. I built an api to trigger that command from front-end but the problem is that the it's returning stderr which is fine but how can i handle that in my frontend as i want to show the terminal in but my api is not giving any response. Is there any other way to make this script.

    This is my nodejs file where i am passing data from axios and executing the wssh command to start the webssh.

    const child = spawn('wssh', [\${body.cert_option}`, `${body.key_option}`, `--log-file-prefix=/var/www/html/myPanel/logs/terminal.log`]); child.stdout.on('data', (data) => { console.log(`stdout: ${data}`); return res.status(500).json({ success: 0, data: data }); }) child.stderr.on('data', (data) => { console.log(`stderr: ${data}`); return res.status(200).json({ success: 1, data: data }); }); child.on('error', (error) => { console.log(`error: ${error}`); return res.status(500).json({ success: 0, message: "SSH connection error", error: error }); }); child.on('exit', (code, signal) => { if (code) { console.log(`child process exited with code ${code}`); } if (signal) { console.log(`child process exited with signal ${signal}`); } }); });`

    PS: my project is not completely on nodejs, only the api.

    So here is something i want to create like this (source: aapanel):

  • websockify

    Websockify is a WebSocket to TCP proxy/bridge. This allows a browser to connect to any application/server/service.

    Project mention: Hide WireGuard Handshake | | 2022-06-24
  • websocket-client

    WebSocket client for Python

    Project mention: RoonCommandLine Version 2.0.8 Release 1 | | 2023-01-01

    One other significant improvement in RoonCommandLine is an upgrade to the latest WebSocket client library.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • uvicorn-gunicorn-fastapi-docker

    Docker image with Uvicorn managed by Gunicorn for high-performance FastAPI web applications in Python with performance auto-tuning. Optionally with Alpine Linux.

    Project mention: Handling 502 Exceptions | | 2022-06-03

    The timeouts suggestion is interesting because I haven't really configured them beyond the default

  • cryptofeed

    Cryptocurrency Exchange Websocket Data Feed Handler

    Project mention: cryptofeed: NEW Data - star count:1655.0 | | 2023-02-08
  • script-server

    Web UI for your scripts with execution management

    Project mention: Can Flask Simply Run My Python Code? | | 2023-01-18

    Probably is easier for your usecase


    Bringing Http/Https and WebSockets High Performance servers for PyPy3 and Python3

    Project mention: With this, you can outperform Golang Fiber with Python | | 2023-01-11
  • bolt-python

    A framework to build Slack apps using Python

    Project mention: SlackApi Bolt-python App With AWS Lambda And AWS CDK | | 2022-10-23

    This post will follow and extend the example from slackapi/bolt-python and manage infrasture as code it using AWS CDK typescript.

  • MicroWebSrv

    A micro HTTP Web server that supports WebSockets, html/python language templating and routing handlers, for MicroPython (used on Pycom modules & ESP32)

    Project mention: way to control led strips by phone | | 2022-10-26

    setting up your own simple webserver

  • MicroWebSrv2

    The last Micro Web Server for IoTs (MicroPython) or large servers (CPython), that supports WebSockets, routes, template engine and with really optimized architecture (mem allocations, async I/Os). Ready for ESP32, STM32 on Pyboard, Pycom's chipsets (WiPy, LoPy, ...). Robust, efficient and documented!

  • PyTrader-python-mt4-mt5-trading-api-connector-drag-n-drop

    Open Source Trading Strategies & End-to-End solution connecting Metatrader4 & Metatrader5 💹 with Python with a simple drag and drop EA. Fully tested bug free & efficient solution for live & paper trading⭐ Full Documentation ready. Lightweight, efficient and stable implementation 🔥

    Project mention: PyTrader-python-mt4-mt5-trading-api-connector-drag-n-drop: NEW Extended Research - star count:401.0 | | 2023-01-07
  • django-sockpuppet

    Build reactive applications with the django tooling you already know and love.

  • LGWebOSRemote

    Command line webOS remote for LGTVs

    Project mention: What’s the power on signal for a C2 TV…RF, Bluetooth, IR? | | 2022-07-06

    And then regarding the former for computer display after hunting around I found this or maybe could just use a magic packet app.

  • DjangoChannelsGraphqlWs

    Django Channels based WebSocket GraphQL server with Graphene-like subscriptions

  • showdown

    A Pokemon Showdown Battle Bot written in Python (by pmariglia)


    A Security Tool for Enumerating WebSockets

  • django-loci

    Reusable Django app for storing geographic and indoor coordinates. Maintained by the OpenWISP Project.

  • weewx-belchertown

    A clean and modern weewx skin with real time streaming updates, forecast data and interactive charts. View it in action at

    Project mention: Any way to view Davis Weatherlink over LAN? | | 2023-02-07
  • tau

    TAU- Twitch API Unifier, a containerized relay/proxy to unify the WebHook- and WebSocket-based real-time Twitch APIs under a single (local) WebSocket connection.

    Project mention: 📌 Live - Creating a Modern NPM Package | | 2022-08-26

    After we're warmed up from the previous two segments we dive into a technical topic for the day. This can vary from stream to stream but for this particular one we're jumping into contributing to some open source software projects from the community. The first one we'll look to help out with is TAU which stands for Twitch API Unifier. This project is super helpful for developers looking to interact with the various Twitch API's and interfaces. It makes it much simpler than trying to follow the Twitch developer documentation directly.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-02-08.

Python Websockets related posts


What are some of the best open-source Websocket projects in Python? This list will help you:

Project Stars
1 starlette 7,820
2 python-binance 5,045
3 websockets 4,387
4 python-slack-sdk 3,541
5 webssh 3,361
6 websockify 3,303
7 websocket-client 3,157
8 uvicorn-gunicorn-fastapi-docker 2,114
9 cryptofeed 1,657
10 script-server 1,086
11 876
12 bolt-python 705
13 MicroWebSrv 534
14 MicroWebSrv2 520
15 PyTrader-python-mt4-mt5-trading-api-connector-drag-n-drop 419
16 django-sockpuppet 419
17 LGWebOSRemote 363
18 DjangoChannelsGraphqlWs 243
19 showdown 175
20 STEWS 175
21 django-loci 172
22 weewx-belchertown 170
23 tau 137
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives