Stickney
Stickney is an asynchronous websockets library for AnyIO and Python 3.11+. This is primarily designed for Trio (as asyncio is a bastard evil terrible library that deadlocks constantly) usage.
Installation
Stickney is available on PyPI.
$ poetry add stickney@latest
Usage
Create a new websocket with the open_ws_connection function:
async with open_ws_connection(url="wss://example.websocket.server/path?a=b") as ws:
...
You can send messages with the send_message function and receive messages with the receive_single_message function. You can also use close, but the WS is closed automatically when the context manager exits.
There’s not really much else to it. See stickney/frames.py for the available message types.
Naming
Stickney is named after the Stickney crater on Phobos.
Metadata
Release files for stickney 0.8.0
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 |
|---|---|---|---|---|
| stickney-0.8.0.tar.gz | 22.2 kB | Without provenance | Details for stickney-0.8.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stickney-0.8.0-py3-none-any.whl | Python 3 | none | any | Details for stickney-0.8.0-py3-none-any.whl |
Total release size: 45.6 kB
Release files / stickney-0.8.0.tar.gz
| Download URL | stickney-0.8.0.tar.gz |
|---|---|
| Size | 22.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5fa3f4371f66c05f9822ca8a51d1c58c9403dd166e0094c8807a22239c1d426a
|
|
BLAKE2b-256 checksum How to use checksums |
bee5ab23010195bb99e79f802a507b014e5b687e04275b3503214172551131b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.23.1 CPython/3.13.3 Linux/6.12.21-gentoo-dist
|
Release files / stickney-0.8.0-py3-none-any.whl
| Download URL | stickney-0.8.0-py3-none-any.whl |
|---|---|
| Size | 23.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c924c5bb24bd0063cc8243d2d611d683f3f96625dee9aabfc575064471a23cb7
|
|
BLAKE2b-256 checksum How to use checksums |
f6cfd80b4beb81cef33e09f4bbd55ed358cb825c84336d7a311e6fcf14a9a9a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.23.1 CPython/3.13.3 Linux/6.12.21-gentoo-dist
|
Security for stickney 0.8.0
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.