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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a2e0e70de8fd260f6a868202d3551d434d357ea5012bc0f3a24937f7e30ca16
|
|
| MD5 |
10355617012bd115ff059c6131a4dc1b
|
|
| BLAKE2b-256 |
41e818a7c08c64f4cba68138ba6d1dc1d712a305ece371667b4c3af4b56309e1
|
Provenance
The following attestation bundles were made for csrd_realtime-0.5.25.tar.gz:
Publisher:
release.yml on csrd-api/fastapi-common
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
csrd_realtime-0.5.25.tar.gz -
Subject digest:
3a2e0e70de8fd260f6a868202d3551d434d357ea5012bc0f3a24937f7e30ca16 - Sigstore transparency entry: 1551730799
- Sigstore integration time:
-
Permalink:
csrd-api/fastapi-common@c0ed1f54453101098db07bca66842852537aad53 -
Branch / Tag:
refs/tags/v0.5.25 - Owner: https://github.com/csrd-api
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c0ed1f54453101098db07bca66842852537aad53 -
Trigger Event:
workflow_dispatch
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbcc3d528ff275e1469eee046aea75ede9882088f7563cab92ae9b7541e7d6dc
|
|
| MD5 |
f1db000616f913b5996bcb1655d8d3ce
|
|
| BLAKE2b-256 |
767f79c05441cbed8b0f20458bfc54348daf3658370a299bc2f89de1d6ac5d55
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
csrd_realtime-0.5.25-py3-none-any.whl -
Subject digest:
cbcc3d528ff275e1469eee046aea75ede9882088f7563cab92ae9b7541e7d6dc - Sigstore transparency entry: 1551732605
- Sigstore integration time:
-
Permalink:
csrd-api/fastapi-common@c0ed1f54453101098db07bca66842852537aad53 -
Branch / Tag:
refs/tags/v0.5.25 - Owner: https://github.com/csrd-api
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c0ed1f54453101098db07bca66842852537aad53 -
Trigger Event:
workflow_dispatch
-
Statement type: