Skip to main content

Python library for IBM MQ

PyMQI is a production-ready, open-source Python extension for IBM MQ (formerly known as WebSphere MQ and MQSeries).

For 20+ years, the library has been used by thousands of companies around the world with their queue managers running on Linux, Windows, UNIX and z/OS.

Sample code

To put a message on a queue:

import pymqi

queue_manager = pymqi.connect('QM.1', 'SVRCONN.CHANNEL.1', '192.168.1.121(1434)')

q = pymqi.Queue(queue_manager, 'TESTQ.1')
q.put('Hello from Python!')

To read the message back from the queue:

import pymqi

queue_manager = pymqi.connect('QM.1', 'SVRCONN.CHANNEL.1', '192.168.1.121(1434)')

q = pymqi.Queue(queue_manager, 'TESTQ.1')
msg = q.get()
print('Here is the message:', msg)

The backbone of IBM MQ Python messaging

PyMQI is a low-level library that requires one to know IBM MQ APIs well.

It serves, however, as the basis for IBM MQ support in Zato, which is an enterprise API platform and backend application server in Python that lets one connect to many technologies with little or no programming.

This includes IBM MQ queue managers as well as the ability to seamlessly integrate with Java JMS systems.

https://zato.io/en/docs/3.2/gfx/api/screenshots/conn1.png https://zato.io/en/docs/3.2/gfx/api/screenshots/mq.png

Learn more

Visit the documentation for more information and usage examples.

Metadata

Release files for pymqi2 1.12.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pymqi2 1.12.10
File Size Uploaded
pymqi2-1.12.10.tar.gz 91.7 kB Details

Release files / pymqi2-1.12.10.tar.gz

Download URL pymqi2-1.12.10.tar.gz
Size 91.7 kB
Tags Source
SHA-256 checksum
How to use checksums
67f5fb892a57914dc4a6f5e532e6761709fd6b3294d87b73058f5a667cb947de
BLAKE2b-256 checksum
How to use checksums
540a1ee92f5c4f914ced13e04e4175c5b9d2d0dd2f6e0e2163b5f3e8a40511eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

1.12.10 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page