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. Learn more →
Top 23 Python WebSocket Projects
-
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-01We used mitmproxy. It’s lightweight, easy to run, and gives a clean log of every outbound request.
-
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.
-
Django Channels Documentation
-
-
-
OPAL
Policy and data administration, distribution, and real-time updates on top of Policy Agents (OPA, Cedar, ...) (by permitio)
-
-
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.
-
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.
-
-
-
-
-
-
-
-
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-15already 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.
-
-
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.
-
-
-
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.
-
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!
-
-
MicroWebSrv
A micro HTTP Web server that supports WebSockets, html/python language templating and routing handlers, for MicroPython (used on Pycom modules & ESP32)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Python WebSocket discussion
Python WebSocket related posts
-
Show HN: Talk to your Mac offline – sub-second Voice AI (Apple Silicon and MLX)
-
Building Async Backends with Django and Celery
-
Building Slack Platform Expert AI
-
MitmProxy2Swagger: Automagically reverse-engineer REST APIs
-
WebSocket security: 9 common vulnerabilities & prevention methods
-
Crossbar.io Is Down (Forever?)
-
Testing flask socketio
-
A note from our sponsor - InfluxDB
www.influxdata.com | 15 Nov 2025
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 |