Skip to main content

WebSocket connection lifecycle, room broadcast, and routing for real-time services

Project description

csrd WebSocket Library

Status: Stub (v0.1.0) — Name claimed, implementation in progress.

Real-time WebSocket connection lifecycle, room broadcast, and routing primitives for the csrd ecosystem.

Overview

This package provides reusable WebSocket infrastructure for building real-time services on FastAPI. It handles connection registration, room membership, message routing, and optional policy hooks — but does not define domain-specific protocols.

Design reference

  • Design doc: ../../docs/WEBSOCKET_LIBRARY_DESIGN.md
  • Implementation plan: ../../docs/WEBSOCKET_LIBRARY_IMPLEMENTATION_PLAN.md

Planned v1 API (stub)

from csrd.realtime import (
    ConnectionContext,
    ConnectionManager,
    MessageEnvelope,
    MessageRouter,
)

Status

This is a reserved namespace stub. The full implementation will be available in v0.2.0+.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

csrd_realtime-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

csrd_realtime-0.1.0-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file csrd_realtime-0.1.0.tar.gz.

File metadata

  • Download URL: csrd_realtime-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for csrd_realtime-0.1.0.tar.gz
Algorithm Hash digest
SHA256 98192d2118078ccdb4d505b1eb45616313d83063b952831bc7e3056f28c3635c
MD5 4adae013ec62ca570688498b6ae57568
BLAKE2b-256 25471dfee05cbbef8543b7799548c280e8b8bf12375583cd8108d55a952c5b25

See more details on using hashes here.

Provenance

The following attestation bundles were made for csrd_realtime-0.1.0.tar.gz:

Publisher: release.yml on csrd-api/fastapi-common

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file csrd_realtime-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: csrd_realtime-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for csrd_realtime-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee582c74f3b14529339b384836feaefc277f81b687c74af322997906ee8e75c4
MD5 eaa5b4616fb20b38846ab0e135e6fb79
BLAKE2b-256 6e46fc8284941fb0dc307af6f9ff25a029d5e73efef831254556870932c2af60

See more details on using hashes here.

Provenance

The following attestation bundles were made for csrd_realtime-0.1.0-py3-none-any.whl:

Publisher: release.yml on csrd-api/fastapi-common

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page