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. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  3. django-channels

    Developer-friendly asynchrony for Django

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

    “Safest, Fastest, Easiest, and Most advanced” Python HTTP Client. Production Ready! Drop-in replacement for Requests. HTTP/1.1, HTTP/2, and HTTP/3 supported. With WebSocket, and SSE! Be free of Requests bondage now.

    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. vosk-server

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

  21. client-python

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

  22. ClipCascade

    ClipCascade is a lightweight utility that automatically syncs the clipboard across devices, no key press required.

    Project mention: ClipCascade: Seamless Clipboard Sync Across Devices | news.ycombinator.com | 2024-10-05
  23. 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.

  24. huobi_Python

    Python SDK for Huobi Spot API

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

  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

  • 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
  • I'm looking for "Real time" stock market API

    1 project | /r/webdev | 13 May 2023
  • Django WebSockets

    1 project | dev.to | 12 May 2023
  • A note from our sponsor - Sevalla
    sevalla.com | 1 Sep 2025
    Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more! Learn more →

Index

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

# Project Stars
1 mitmproxy 40,303
2 django-channels 6,276
3 websockets 5,495
4 Flask-SocketIO 5,491
5 OPAL 5,348
6 python-socketio 4,238
7 python-slack-sdk 3,949
8 websocket-client 3,677
9 cryptofeed 2,535
10 AutobahnPython 2,519
11 Crossbar 2,058
12 alpaca-trade-api-python 1,828
13 socketify.py 1,617
14 autobahn-testsuite 1,527
15 Niquests 1,335
16 django-socketio 1,319
17 bolt-python 1,209
18 vosk-server 1,157
19 client-python 1,131
20 ClipCascade 1,052
21 unicorn-binance-websocket-api 709
22 huobi_Python 693
23 MicroWebSrv2 685

Sponsored
Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com

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