Skip to main content

Python IBM MQI Extension for IBM MQ (formerly WebSphere MQ and MQSeries).

Project description

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.

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

pymqi-1.12.11.tar.gz (91.8 kB view details)

Uploaded Source

File details

Details for the file pymqi-1.12.11.tar.gz.

File metadata

  • Download URL: pymqi-1.12.11.tar.gz
  • Upload date:
  • Size: 91.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pymqi-1.12.11.tar.gz
Algorithm Hash digest
SHA256 a8346cd9ae54bf1cc767e9d394bb5d483e7c73ebdc2ee9f63bffea1d99691167
MD5 64af1a5028eac7da3400df2fd86e97cc
BLAKE2b-256 1db6b331fab988d44b5829520acaef9fa674a9f4acbb7f15119e45c76bf60729

See more details on using hashes here.

Supported by

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