Thanks to visit codestin.com
Credit goes to www.libhunt.com

Python WebSocket

Open-source Python projects categorized as WebSocket

Top 23 Python WebSocket Projects

  1. mitmproxy

    An interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers.

    Project mention: Tracking outbound API calls from your application: why, what worked (and what didn’t) | dev.to | 2025-09-01

    We used mitmproxy. It’s lightweight, easy to run, and gives a clean log of every outbound request.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. django-channels

    Developer-friendly asynchrony for Django

    Project mention: Building Async Backends with Django and Celery | dev.to | 2025-10-03

    Django Channels Documentation

  4. websockets

    Library for building WebSocket servers and clients in Python

  5. Flask-SocketIO

    Socket.IO integration for Flask applications.

  6. OPAL

    Policy and data administration, distribution, and real-time updates on top of Policy Agents (OPA, Cedar, ...) (by permitio)

  7. python-socketio

    Python Socket.IO server and client

  8. python-slack-sdk

    Slack Developer Kit for Python

    Project mention: Building Slack Platform Expert AI | dev.to | 2025-02-12

    Here is an example. The AuthorizeUrlGenerator unit tests were converted into the following code snippet with sufficient comments. These comments are very useful for both document search quality and helping generative AI understand the code better.

  9. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  10. websocket-client

    WebSocket client for Python

  11. cryptofeed

    Cryptocurrency Exchange Websocket Data Feed Handler

  12. AutobahnPython

    WebSocket and WAMP in Python for Twisted and asyncio

  13. Crossbar

    Crossbar.io - WAMP application router

  14. alpaca-trade-api-python

    Python client for Alpaca's trade API

  15. socketify.py

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

  16. autobahn-testsuite

    Autobahn WebSocket protocol testsuite

    Project mention: Autobahn WebSocket Protocol Testsuite | news.ycombinator.com | 2025-08-30
  17. Niquests

    Drop-in replacement for Requests. Automatic HTTP/1.1, HTTP/2, and HTTP/3. WebSocket, and SSE included.

    Project mention: Show HN: The Jawah Python Organization Was in GitHub Secure Open Source Fund | news.ycombinator.com | 2025-08-15

    already is! But we also fixed a lot of tiny security issues thanks to the sharp eyes of experts out there!

    Now, there's another project we know is going to absolutely need the utmost standard of security. *Niquests!*

    It's been seven months since our last update for the potential Requests replacement and we wanted to share some exciting news about it.

    For those who did not know about it: Niquests is a drop-in replacement for the popular Requests http client. https://github.com/jawah/niquests

    Here some anecdote I'd like to share with all of you:

    - PyPI

    Niquests is about to break the 1000th place on PyPI most downloaded packages! With around 55 thousands pull each day.

  18. django-socketio

    WebSockets for Django

  19. bolt-python

    A framework to build Slack apps using Python

    Project mention: Building Slack Platform Expert AI | dev.to | 2025-02-12

    A significant effort was spent summarizing lengthy GitHub issues and unit test code. I used OpenAI API to summarize the text data to be even more efficient. For example, one GitHub issue (#1026) was condensed to capture its essence, highlighting key points about modal submissions, API errors, and the proper usage of ack() and client.views_update(). The summary retained important error messages, links to official documentation, and included a useful code snippet as well.

  20. client-python

    The official Python client library for the Massive.com REST and WebSocket API.

  21. vosk-server

    WebSocket, gRPC and WebRTC speech recognition server based on Vosk and Kaldi libraries

  22. unicorn-binance-websocket-api

    A Python SDK to use the Binance Websocket API`s (com+testnet, com-margin+testnet, com-isolated_margin+testnet, com-futures+testnet, com-coin_futures, us, tr, dex/chain+testnet) in a simple, fast, flexible, robust and fully-featured way.

  23. 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!

  24. huobi_Python

    Python SDK for Huobi Spot API

  25. MicroWebSrv

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

  26. SaaSHub

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

    SaaSHub logo
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).

Python WebSocket discussion

Log in or Post with

Python WebSocket related posts

  • Show HN: Talk to your Mac offline – sub-second Voice AI (Apple Silicon and MLX)

    1 project | news.ycombinator.com | 22 Oct 2025
  • Building Async Backends with Django and Celery

    4 projects | dev.to | 3 Oct 2025
  • Building Slack Platform Expert AI

    3 projects | dev.to | 12 Feb 2025
  • MitmProxy2Swagger: Automagically reverse-engineer REST APIs

    3 projects | news.ycombinator.com | 2 Jan 2025
  • WebSocket security: 9 common vulnerabilities & prevention methods

    2 projects | dev.to | 25 Sep 2023
  • Crossbar.io Is Down (Forever?)

    1 project | news.ycombinator.com | 25 Aug 2023
  • Testing flask socketio

    2 projects | /r/flask | 19 May 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 15 Nov 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 mitmproxy 41,221
2 django-channels 6,301
3 websockets 5,565
4 Flask-SocketIO 5,497
5 OPAL 5,388
6 python-socketio 4,278
7 python-slack-sdk 3,971
8 websocket-client 3,688
9 cryptofeed 2,608
10 AutobahnPython 2,529
11 Crossbar 2,062
12 alpaca-trade-api-python 1,842
13 socketify.py 1,649
14 autobahn-testsuite 1,577
15 Niquests 1,415
16 django-socketio 1,319
17 bolt-python 1,240
18 client-python 1,228
19 vosk-server 1,195
20 unicorn-binance-websocket-api 716
21 MicroWebSrv2 698
22 huobi_Python 694
23 MicroWebSrv 657

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Python is
the 2nd most popular programming language
based on number of references?