A python socket manager.
Extend Session for server classes. Extend Connection for client clasess. To expose functions to RPC calling, add their name to the white_list_functions list. To call a function, you can send JSON with the function name and arguments contained:
{
"type": "function_name",
"args": [
"argument 1",
"argument 2"
]
}
You can register a new connection by sending the clients name and the name of the session they should be moved to:
{
"type": "register",
"args": [
"client_name",
"session_name"
]
}
To send a message to other clients, you can call the broadcast message using the message and client name:
{
"type": "broadcast",
"args": [
"message",
"client_name"
]
}
Metadata
Release files for caduceussocket 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| caduceussocket-0.1.5.tar.gz | 5.5 kB | Without provenance | Details for caduceussocket-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| caduceussocket-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for caduceussocket-0.1.5-py3-none-any.whl |
Total release size: 12.5 kB
Release files / caduceussocket-0.1.5.tar.gz
| Download URL | caduceussocket-0.1.5.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c789442920b0c77248f6235f76a66ccd4d967f6b925adcf49afdb48fa461bce7
|
|
BLAKE2b-256 checksum How to use checksums |
f033a4e216a98b55eb5018e1c093f68bd05ce33e51824b2a893b02cb4ae740a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.7.4 Windows/10
|
Release files / caduceussocket-0.1.5-py3-none-any.whl
| Download URL | caduceussocket-0.1.5-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b5cdad1ee8e36515727df0d20ecd1925533ba2e7296d9ad5474730cf2fb5259e
|
|
BLAKE2b-256 checksum How to use checksums |
60103535685c6df0566de1f1242520e96caee68d6336c160e6ce5b4fe17e4eb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.7.4 Windows/10
|
Security for caduceussocket 0.1.5
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.