Python Extension for IBM MQ
Project description
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)
Many more examples are in the project repository and in the dev-patterns repository.
Project details
Release history Release notifications | RSS feed
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.5.tar.gz
(463.2 kB
view details)
File details
Details for the file ibmmq-2.0.5.tar.gz.
File metadata
- Download URL: ibmmq-2.0.5.tar.gz
- Upload date:
- Size: 463.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f27cd23740fe0d1c5fa8ebed87ed19414ee3eaa91b9bac7b4204e7ccf419c062
|
|
| MD5 |
8838b30f5c8aaa50b79bd8712b55c3d3
|
|
| BLAKE2b-256 |
f1b4c726adbf3a095d00d632a152cec08b25d9c40fc62fe8ec98e0fb0325beac
|