Pre-release
This release is a pre-release and may not be stable for production use.
Python library for IBM MQ
The “ibmmq” package is an open-source Python extension for IBM MQ.
It gives a full-featured implementation of the MQI programming interface, with additional helper functions to assist with system monitoring and management.
Sample code
To put a message on a queue:
import ibmmq
queue_manager = ibmmq.connect('QM1', 'DEV.APP.SVRCONN', '192.168.1.121(1414)')
q = ibmmq.Queue(queue_manager, 'DEV.QUEUE.1')
q.put('Hello from Python!')
To read the message back from the queue:
import ibmmq
queue_manager = ibmmq.connect('QM1', 'DEV.APP.SVRCONN', '192.168.1.121(1414)')
q = ibmmq.Queue(queue_manager, 'DEV.QUEUE.1')
msg = q.get()
print('Here is the message:', msg)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ibmmq-2.0.0b2.tar.gz
(439.8 kB
view details)
File details
Details for the file ibmmq-2.0.0b2.tar.gz.
File metadata
- Download URL: ibmmq-2.0.0b2.tar.gz
- Upload date:
- Size: 439.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82523e1137a8a604fdedc60384173638082314d59945a2d166dbf4a34bd986b0
|
|
| MD5 |
4b2617be6ebb8a23dcea8715ac52470c
|
|
| BLAKE2b-256 |
8fa6b1a7b4b79da8512651b4dfebd367e6d5688043e0210b2dd55388e93859a5
|