Skip to main content

Installation

pip install websocket-training

Usage

import uvicorn
from fastapi import FastAPI

from websocket_training.ws_router import connect_ws, get_ws_manager, ConnectionManager

app = FastAPI()
connect_ws(app)

manager: ConnectionManager = get_ws_manager()
print(manager.count())


if __name__ == '__main__':
    uvicorn.run('main:app')

Metadata

Release files for websocket-training 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for websocket-training 0.1.8
File Size Uploaded Provenance Actions
websocket_training-0.1.8.tar.gz 3.3 kB Without provenance Details for websocket_training-0.1.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for websocket-training 0.1.8
File Interpreter ABI Platform Actions
websocket_training-0.1.8-py3-none-any.whl Python 3 none any Details for websocket_training-0.1.8-py3-none-any.whl

Total release size: 8.8 kB

Release files / websocket_training-0.1.8.tar.gz

Download URL websocket_training-0.1.8.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5b55e3df6ae4aa7f6da56ab1384b9f534b6ba62dec0c7c29ef7fe073c5ad96ef
BLAKE2b-256 checksum
How to use checksums
1e7bafbe3346e22b00a6d70c7096bf4a8976fc72fd1ce7e8bce43d97ec5ec35f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.4 Linux/5.15.0-88-generic

Release files / websocket_training-0.1.8-py3-none-any.whl

Download URL websocket_training-0.1.8-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6c88ad5005b63365b585cc80959317823ac5794828ee77a4d9110f7b4abb62e
BLAKE2b-256 checksum
How to use checksums
1b6e6c494809bd3f0c4b5abde6e444878c07c0a91816a51c772d76bd7c2c3455
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.4 Linux/5.15.0-88-generic

Security for websocket-training 0.1.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page