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.5.25.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.5.25-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: csrd_realtime-0.5.25.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.5.25.tar.gz
Algorithm Hash digest
SHA256 3a2e0e70de8fd260f6a868202d3551d434d357ea5012bc0f3a24937f7e30ca16
MD5 10355617012bd115ff059c6131a4dc1b
BLAKE2b-256 41e818a7c08c64f4cba68138ba6d1dc1d712a305ece371667b4c3af4b56309e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for csrd_realtime-0.5.25.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.5.25-py3-none-any.whl.

File metadata

  • Download URL: csrd_realtime-0.5.25-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.5.25-py3-none-any.whl
Algorithm Hash digest
SHA256 cbcc3d528ff275e1469eee046aea75ede9882088f7563cab92ae9b7541e7d6dc
MD5 f1db000616f913b5996bcb1655d8d3ce
BLAKE2b-256 767f79c05441cbed8b0f20458bfc54348daf3658370a299bc2f89de1d6ac5d55

See more details on using hashes here.

Provenance

The following attestation bundles were made for csrd_realtime-0.5.25-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