--- id: stomp-py version: "9.0.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # stomp.py — Python STOMP client, supporting versions 1.0, 1.1 and 1.2 of the protocol License: permissive · Maintenance: active · Downloads: 1.5M/mo ## What it is and what it does stomp.py is a Python client for the STOMP (Streaming Text Oriented Messaging Protocol) messaging standard. It lets you connect to message brokers like ActiveMQ, RabbitMQ, and Artemis to send and receive messages over a network. The library handles the protocol details—connection negotiation, message framing, and acknowledgment—so you write straightforward Python code to interact with your message queue. It supports STOMP versions 1.0, 1.1, and 1.2, and can also run as a standalone command-line tool for testing. The package has minimal dependencies (just docopt-ng and websocket-client) and is actively maintained for modern Python (3.10–3.14). It's been in use since 2011 and is marked as production-stable. If you need to integrate a Python application with an existing STOMP-based messaging infrastructure, this is the standard choice. Use it for: - Connect a Python service to an ActiveMQ or RabbitMQ broker to publish events or subscribe to message queues. - Build a message-driven microservice that listens for incoming STOMP messages and processes them asynchronously. - Write a command-line tool to test or debug STOMP message flows without writing application code. - Integrate legacy messaging systems (that speak STOMP) with modern Python applications. - Implement request-reply patterns over STOMP for distributed system communication. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A Python client library for connecting to STOMP messaging servers (ActiveMQ, RabbitMQ, Artemis) and sending or receiving messages using the STOMP protocol. Yes. The package is actively maintained, has low install friction, carries a permissive license, and is the standard Python client for STOMP. Install it if you need to communicate with a STOMP message broker. No known vulnerabilities and broad Python version support make it a safe, reliable choice. ## Install pip install stomp-py uv add stomp-py poetry add stomp-py ## Installing stomp.py Before you install: Low friction install with only two runtime dependencies (docopt-ng and websocket-client). Active maintenance with a release within the last 94 days. Supports current Python versions (3.10 through 3.14). License in practice: Apache-2.0 is a permissive open-source license; you can use this package freely in commercial and private projects with minimal restrictions, provided you include a copy of the license. Quickstart: import stomp conn = stomp.Connection() conn.connect('admin', 'password', wait=True) conn.send(body='test message', destination='/queue/test') conn.disconnect() Requires Python 3.10 or later; a STOMP-compatible message broker (ActiveMQ, RabbitMQ, or Artemis) must be running and accessible. Verify before relying: - Whether the package supports STOMP protocol versions beyond 1.0, 1.1, and 1.2. - Performance characteristics and throughput limits for high-volume message scenarios. - Whether SSL/TLS certificate validation is configurable for secure connections. ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 1.5M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags stomp protocol client, activemq python client, rabbitmq stomp messaging, message broker connection, stomp v1.0 v1.1 v1.2, python messaging client, queue messaging library, messaging, stomp-protocol, message-broker [View on SkillFed](https://skillfed.io/packages/stomp-py) · [View on PyPI](https://pypi.org/project/stomp-py/)