STOMP library for Python including a synchronous client.
stomp, stomper, stompest!
The STOMP client in this package is dead simple: It does not assume anything about your concurrency model (thread vs process) or force you to use it any particular way. It gets out of your way and lets you do what you want. The package also consists of a generic set of components each of which you may use independently to roll your own STOMP client:
- a wire-level STOMP frame parser and compiler,
- a faithful implementation of the syntax of the STOMP protocol with a simple stateless function API,
- a generic implementation of the STOMP session state semantics, such as protocol version negotiation at connect time, transaction and subscription handling (including a generic subscription replay scheme which may be used to reconstruct the session’s subscription state after a forced disconnect),
- and a failover transport URI scheme akin to the one used in ActiveMQ.
This package is thoroughly unit tested and production hardened for the functionality used by the current maintainer and by Mozes – persistent queueing on ActiveMQ. Minor enhancements may be required to use this STOMP adapter with other brokers.
The asynchronous client is based on Twisted, a very mature and powerful asynchronous programming framework. In order to keep the stompest package self-consistent, the asynchronous client is available as a separate package stompest.async.
You may install this package via pip install stompest or manually via python setup.py install.
Documentation & Code Examples
The stompest API is fully documented here.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size stompest-2.3.0.tar.gz (38.1 kB)||File type Source||Python version None||Upload date||Hashes View|