skillfed

simple-websocket

Simple WebSocket server and client for Python

simple-websocket Permissive license Active 88 v1.1.0 released

Install

simple-websocket on PyPI

pip

pip install simple-websocket

uv

uv add simple-websocket

poetry

poetry add simple-websocket

Package facts

License not declared (permissive)
Python support supports the current Python release (>=3.6)
Install friction low — pure-Python wheel
Runtime dependencies 1 — wsproto
Maintenance actively maintained — 672 days since the last release
Last repo commit
First released
Popularity one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13)
Known vulnerabilities none known (OSV.dev, checked 2026-08-13)

Evidence: simple_websocket-1.1.0-py3-none-any.whl

Environment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

About simple-websocket

from the package's own PyPI description — quoted content, verbatim

simple-websocket

Build status (image) codecov (image)

Simple WebSocket server and client for Python.

Resources

Read as markdown · JSON record · Source repository · Homepage

AI interpretation — verify before relying

AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page

simple-websocket provides a straightforward WebSocket server and client implementation for Python, enabling bidirectional communication over WebSocket connections with minimal setup.

Installation is low-friction with a single runtime dependency (wsproto) and an active maintenance status. The package was last updated 2024-10-10 with recent repository activity (last commit 2026-05-14), indicating ongoing support.

The package carries a permissive MIT license classification, meaning you can use, modify, and distribute it with minimal legal restrictions—typical for open-source libraries.

Usage

pip install simple-websocket

from simple_websocket import Server

ws = Server(environ)
data = ws.receive()
ws.send(data)

Requires Python 3.6 or later; WebSocket connections must be initiated within a valid WSGI or similar web environment context.

Verdict: simple-websocket is a well-maintained, permissively licensed WebSocket library with low installation friction and no known vulnerabilities. Its active status, top-1000 popularity tier, and straightforward dependency chain make it a reliable choice for adding WebSocket support to Python applications.

Needs verification

  • Whether the package supports both server and client modes equally or if one is more mature than the other
  • Performance characteristics and scalability limits for concurrent connections
  • Specific WSGI framework compatibility requirements beyond the basic environ context
websocket server pythonwebsocket client librarysimple websocket implementationpython websocket communicationbidirectional websocketwebsocket protocol pythonlightweight websocket

Similar packages