auto-stomp - Async STOMP over WebSocket for Python
auto-stomp is an asyncio-based STOMP (Simple/Streaming Text Oriented Messaging Protocol) client that supports WebSocket connections.
It's designed for use with brokers like Spring STOMP endpoints over WebSocket.
Installation
pip install async-stomp-client
Or, if you're building from source:
git clone https://github.com/your-username/async-stomp-client.git
cd async-stomp-client
pip install .
Quick Start
import asyncio
from auto_stomp import Client
async def main():
stomp = Client(brockerURL="ws://localhost:8080/signaling", debug=True)
await stomp.connect()
await stomp.subscribe(
id="1",
destination="/topic/offer",
callback=lambda body: print(f"Received offer: {body}")
)
await stomp.send(destination="/app/offer", body="Hello, World!")
await stomp.run_forever()
asyncio.run(main())
Metadata
Release files for auto-stomp 0.0.2
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 | |
|---|---|---|---|---|
| auto-stomp-0.0.2.tar.gz | 4.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| auto_stomp-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / auto-stomp-0.0.2.tar.gz
| Download URL | auto-stomp-0.0.2.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e76dbe1d4f686d66d44a1c5186dffc9c03857d41bfeb6eb74fe917a89243f3c
|
|
BLAKE2b-256 checksum How to use checksums |
aa523431abe5f545258fe19a9989f9bf8f281836bb92bd2eb3717cac5a5ba89e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.2
|
Release files / auto_stomp-0.0.2-py3-none-any.whl
| Download URL | auto_stomp-0.0.2-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c1af9bbc9c6c2db36f24c3b4292bda03bdc8ccb7f4d1893a3812698aadcd75e4
|
|
BLAKE2b-256 checksum How to use checksums |
81d3a84ef70a7ed2746aee28971f741f6721c842b57192706fb0f73b02c0a93e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.2
|
Security for auto-stomp 0.0.2
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.