Python Websockets

Open-source Python projects categorized as Websockets | Edit details

Top 23 Python Websocket Projects

  • starlette

    The little ASGI framework that shines. 🌟

    Project mention: I just launched a webapp in Python, a JSON pastebin service called WST! | | 2022-01-15

    The entire app is written in Python, specifically in the ASGI webapp library Starlette, which is amazing for writing tiny API services like this. I also used SlowAPI as a rate limiter, just so my server doesn't explode.

  • python-binance

    Binance Exchange API python implementation for automated trading

    Project mention: Question about a command in python-binance | | 2021-09-11
  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • websockets

    Library for building WebSocket servers and clients in Python

    Project mention: Websockets Attribute Error | | 2021-10-26

    I've never used this library, but see here. You seem to just want websockets.connect.

  • python-slack-sdk

    Slack Developer Kit for Python

  • websockify

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

    Project mention: I can't believe they charge for Connect when the sync is so unusably terrible | | 2021-11-30

    PS: if you are super restricted checked noVNC with , did wonders for me.

  • websocket-client

    WebSocket client for Python (by liris)

    Project mention: Everything about APIs | | 2021-05-07

    Websockets are (usually) for server to browser communication. The server hosts a WebSocket server, and clients can open a connection to that server. This is popular now mostly because it is faster and less resource-hogging than older ways of solving the problem, like long-polling/COMET. It is possible to connect 2 servers using websockets, but that is not usually what they are used for.

  • webssh

    :seedling: Web based ssh client

    Project mention: Forwarding SSH via ALB | | 2021-11-23

    As mentioned by others, this isn't a good but is doable. Here is how: * install on the web servers / applications behind your ALB * add OIDC authentication to the ALB tier for the URL you are exposing the web SSH client under (optional but recommended). This limits access to the web client

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • uvicorn-gunicorn-fastapi-docker

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

    Project mention: Please share or link to a FastApi tutorial with VM or containerized webserver | | 2021-12-03

    There is a prepackaged docker image using uvicorn/gunicorn from the same guy who made fastapi. Read me should be enough for you to get going. Also be worth reading offical docs on doing this yourself too.

  • cryptofeed

    Cryptocurrency Exchange Websocket Data Feed Handler

    Project mention: cryptofeed: NEW Data - star count:1079.0 | | 2021-12-11
  • script-server

    Web UI for your scripts with execution management

    Project mention: Web Interface for Starting Bash Scripts | | 2022-01-06

    first result of web search with post title shows Personally I use Jenkins.

  • bolt-python

    A framework to build Slack apps using Python

    Project mention: Slack bolt deployment to heruko? | | 2022-01-15

    Looks like there's an official guide in the works:

  • 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!

    Project mention: MicroPython on ESP32 configurable by AP / webserver? | | 2021-09-08

    This guy has made a more complex webserver that you can use to host an API. It's less plug-and-play but it's way more powerful

  • django-sockpuppet

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

    Project mention: Stimulus Reflex for Django | | 2021-03-11
  • tributary

    Streaming reactive and dataflow graphs in Python

    Project mention: Show HN: Hamilton, a Microframework for Creating Dataframes | | 2021-11-08

    Having worked on "Dagger", you may be interested in

  • 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:236.0 | | 2022-01-17
  • DjangoChannelsGraphqlWs

    Django Channels based WebSocket GraphQL server with Graphene-like subscriptions

    Project mention: Solving the double (quintuple) declaration Problem in GraphQL Applications | | 2021-08-14
  • django-loci

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

    Project mention: In geodjango, why does the Point object of a geometry field on my model have an SRID even though "geography" isn't set to True ? | | 2021-12-13

    I'm inheriting my model from AbstracktLocation in the package called django_loci which doesn't have "geography" set to True, yet for some reason it's objects do have an SRID property.

  • showdown

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

    Project mention: AI vs AI Pokemon Tournament - Hoenn Edition. | | 2021-12-09

    Like last time I will be using this pokemon showdown bot to make this work. The teams have ben fed into it, and two instances of the bot are running. Bot 1 will challenge Bot 2 to a Gen 7 anything goes match on Pokemon Showdown. The replay is then saved to my PC and live commentary is recorded.


    A Security Tool for Enumerating WebSockets

    Project mention: STEWS :-- Una herramienta de seguridad para enumerar WebSockets. 👀 | | 2021-12-15
  • localslackirc

    IRC gateway for slack, running on localhost for one user

    Project mention: What relatively simple program would you like to see on Linux? | | 2021-02-16 if you are interested.

  • gemini-python

    A python client for the Gemini API and Websocket

    Project mention: Does Gemini automatically cancel limit buy orders that are too low? | | 2021-12-08

    I'm using a Python API ( to access the Gemini Sandbox. I would like to place some dummy limit buy orders. I notice that when I submit a buy order that is below the market price (ETHUSD was $4430 when I ran this), the result tells me the order was cancelled ...

  • UpSnap

    A simple wake on lan app written with Django, Django-Channels (websockets), Celery, Redis and nmap.

    Project mention: UpSnap: Wake on lan web app with scheduling wake events and more | | 2021-10-01
  • unicorn-binance-suite

    The UNICORN Binance Suite is a Python Meta Package of unicorn-binance-websocket-api, unicorn-binance-rest-api and unicorn-fy.

    Project mention: Python: UNICORN Binance Suite | | 2021-09-21

    UNICORN Binance Suite: - unicorn-fy - unicorn-binance-rest-api - unicorn-binance-websocket-api

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 2022-01-17.

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 6,490
2 python-binance 4,247
3 websockets 3,767
4 python-slack-sdk 3,331
5 websockify 2,964
6 websocket-client 2,838
7 webssh 2,638
8 uvicorn-gunicorn-fastapi-docker 1,639
9 cryptofeed 1,179
10 script-server 741
11 bolt-python 441
12 MicroWebSrv2 402
13 django-sockpuppet 353
14 tributary 291
15 PyTrader-python-mt4-mt5-trading-api-connector-drag-n-drop 239
16 DjangoChannelsGraphqlWs 237
17 django-loci 168
18 showdown 127
19 STEWS 96
20 localslackirc 90
21 gemini-python 69
22 UpSnap 33
23 unicorn-binance-suite 23
Find remote jobs at our new job board There are 29 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.