# Pithikos/python-websocket-server

A simple fully working websocket-server in Python with no external dependencies

Repository: https://github.com/Pithikos/python-websocket-server
Canonical: https://ross.abutalabs.com/products/python-websocket-server
Language: Python
License: MIT
License Family: permissive
Last push: 2025-10-07T15:11:36+00:00

## Health v2 (maintenance only)
Score: 52/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 45, release rhythm 35, longevity 100
- inputs: {"age_days": 4305, "days_push": 330, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1178, forks 379 (observed 2026-08-28T04:03:53.097583+00:00)

## What it is
A minimal WebSocket server library for Python 3.6+ with no external dependencies, offering a clean callback-based API for handling multiple clients. It is aimed at prototyping, testing, and building simple GUI backends rather than full-featured WebSocket deployments.

## Use cases
- run a websocket server in python with no dependencies
- prototype a realtime message server
- broadcast messages to connected browser clients
- build a simple gui backend over websockets
- test websocket clients locally
- handle multiple websocket clients with callbacks

## When to choose
- you need a zero-dependency websocket server for prototyping or testing
- you want a simple callback API for client connect/disconnect/message events
- you need optional SSL support with minimal setup

## When to avoid
- you need full WebSocket protocol feature coverage for production
- you need high-performance or scalable websocket infrastructure
- you prefer a batteries-included framework like websockets or aiohttp

## Facets
- artifact type: library
- maturity: active
- function: websocket, http-server, networking
- domain: web-development, backend, developer-tools
- platform: python, cross-platform
- tags: websocket-server, zero-dependency, prototyping, real-time

## Member repositories
- Pithikos/python-websocket-server (main) score 52

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:53.097583+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:26:05.452746+00:00, confidence not recorded.
  - readme: https://github.com/Pithikos/python-websocket-server (fetched 2026-08-28T04:03:53.097583+00:00, sha fa360a168cbe)
- Data as of 2026-08-30T08:39:29.467469+00:00.
