simple-websocket
Simple WebSocket server and client for Python
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. It ranks in the top 1000 PyPI packages by download volume. Install it if you need straightforward WebSocket functionality without framework overhead.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.6 or later; wsproto must be installed as a runtime dependency.
- Low install friction with a single runtime dependency (wsproto).
- Active maintenance with recent commits as of 2026-05-14 and a release from 2024-10-10.
License · maintenance · safety
permissive license (permissive) — MIT-licensed under permissive terms, allowing commercial and private use with minimal restrictions.
last release 2024-10-10 (673 days) · last repo commit 2026-05-14 · 88 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 28,063,819 downloads/mo, #840 on PyPI
Alternatives
Verify before relying
pip install simple-websocket
import simple_websocket
# Basic server usage
ws = simple_websocket.Server(environ)
data = ws.receive()
ws.send(data)- Whether the package supports both server and client modes equally or if one is primary
- Performance characteristics under high-concurrency or high-throughput scenarios
- Integration patterns with common Python web frameworks
What it is and what it does
simple-websocket is a Python library that implements WebSocket protocol support for building real-time bidirectional communication between clients and servers. It abstracts away the complexity of the WebSocket handshake and frame handling, exposing a simple interface for sending and receiving messages. The package depends only on wsproto for protocol-level operations, keeping dependencies minimal and installation straightforward.
The library is designed for developers who need WebSocket functionality without the overhead of larger frameworks. It supports current Python versions and maintains active development, making it suitable for applications requiring persistent connections, live updates, or event-driven communication patterns.
Use it for
- Building real-time chat or messaging applications with persistent client-server connections
- Implementing live data feeds or dashboards that push updates to connected clients
- Creating collaborative tools where multiple users need synchronized state
- Adding WebSocket support to existing Python web applications for bidirectional communication
- Prototyping or learning WebSocket protocol mechanics with minimal boilerplate
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. It ranks in the top 1000 PyPI packages by download volume. Install it if you need straightforward WebSocket functionality without framework overhead.
Install
simple-websocket on PyPI
Before you install
Low install friction with a single runtime dependency (wsproto). Active maintenance with recent commits as of 2026-05-14 and a release from 2024-10-10.
Requires Python 3.6 or later; wsproto must be installed as a runtime dependency.
License in practice
MIT-licensed under permissive terms, allowing commercial and private use with minimal restrictions.
Quickstart
pip install simple-websocket
import simple_websocket
# Basic server usage
ws = simple_websocket.Server(environ)
data = ws.receive()
ws.send(data)
Verify before relying
- Whether the package supports both server and client modes equally or if one is primary
- Performance characteristics under high-concurrency or high-throughput scenarios
- Integration patterns with common Python web frameworks
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagewsproto |
| Maintenance | Actively maintained 673 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 28,063,819 / month, #840 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Environment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3 |
Evidence: simple_websocket-1.1.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “simple websocket implementation”
- simple-websocketProvides a straightforward WebSocket server and client implementation…
- websocketProvides WebSocket protocol support for gevent-based applications,…
- wsprotowsproto is a pure-Python WebSocket protocol implementation that…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also python-engineio · ws4py · websocket · python-socketio · Flask-SocketIO · flask-sock · wslink · Pysher · gevent-websocket · pysignalr