Skip to main content

Python STOMP client, supporting versions 1.0, 1.1 and 1.2 of the protocol

Project description

PyPI version Build Status

“stomp.py” is a Python client library for accessing messaging servers (such as ActiveMQ, Apollo or RabbitMQ) using the STOMP protocol (STOMP v1.0, STOMP v1.1 and STOMP v1.2). It can also be run as a standalone, command-line client for testing.

NOTE: Stomp.py is officially ending support for Python2.x by Jan 2020. See python3statement.org for more information.

Quick Start

You can connect to a message broker running on the local machine, and send a message using the following example.

import stomp

conn = stomp.Connection()
conn.set_listener('', MyListener())
conn.start()
conn.connect('admin', 'password', wait=True)
conn.send(body=' '.join(sys.argv[1:]), destination='/queue/test')
conn.disconnect()

Various documentation and resources include:

Current version supports:

  • Python 2.x and 3.x

  • STOMP version 1.0, 1.1 and 1.2

There is also legacy 3.1.7 version using the old 3-series code (see 3.1.7 on PyPi and 3.1.7 on GitHub).

stomp.py has been perfunctorily tested on:

stomp.py has been reported to work with JBossMessaging in the distant past.

For more info on setting up a local test server (using docker), contact the developer.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stomp.py-4.1.24.tar.gz (53.7 kB view details)

Uploaded Source

Built Distributions

stomp.py-4.1.24-py3.8.egg (82.0 kB view details)

Uploaded Source

stomp.py-4.1.24-py2.py3-none-any.whl (39.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file stomp.py-4.1.24.tar.gz.

File metadata

  • Download URL: stomp.py-4.1.24.tar.gz
  • Upload date:
  • Size: 53.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for stomp.py-4.1.24.tar.gz
Algorithm Hash digest
SHA256 edf230e5156d16054879932522d34e0c0c90eee48c02c750232c2b26cf68b4a5
MD5 97577a12c63619b9c8b7b29c7caea4b3
BLAKE2b-256 f9f526c98507857c6be37b236ed2378301d821f472683e8da443116678a9cc23

See more details on using hashes here.

Provenance

File details

Details for the file stomp.py-4.1.24-py3.8.egg.

File metadata

  • Download URL: stomp.py-4.1.24-py3.8.egg
  • Upload date:
  • Size: 82.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for stomp.py-4.1.24-py3.8.egg
Algorithm Hash digest
SHA256 19173ed5feb55cfe0220bce98d18454a17d3dfd922765d57bd758de872626918
MD5 c8d0db4c272f46a098b5d0637e7b737e
BLAKE2b-256 ef6261bccbd9002c5d92a83a50fa56d13662b3c752d1703ec523411e4b407815

See more details on using hashes here.

Provenance

File details

Details for the file stomp.py-4.1.24-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for stomp.py-4.1.24-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3d0aee9f105f7243014697f537890ea2ea2982a08cb37b160e59798202f0e1a3
MD5 c552dced286f9c92804a892981b91709
BLAKE2b-256 cc50a96cbaf79b7cb68a5c08511f4d2c275bc9ff962e342f79fdc98ac36ab617

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page