Skip to main content
PyPI - Version

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)

Source distribution for stickney 0.8.0
File Size Uploaded
stickney-0.8.0.tar.gz 22.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for stickney 0.8.0
File Interpreter ABI Platform
stickney-0.8.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

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