ANN: PyMQI 1.2 - Python interface to WebSphere MQ

Dariusz Suchojad dsuch at
Tue Mar 15 03:05:02 CET 2011


I'm very happy to announce the release of PyMQI 1.2.


PyMQI allows users to connect Python applications to WebSphere MQ queue 

It can be used to develop test harnesses for WebSphere MQ based systems, 
for rapid prototyping of WebSphere MQ applications, for development of 
administrative GUIs or for mainstream MQ application development.

PyMQI has been used in production environments for several years on 
Linux, Windows, Solaris and AIX with queue managers running on Linux, 
Windows, Solarix, AIX, HP-UX and z/OS mainframe. Supported WebSphere MQ 
versions are 5.0, 5.1, 5.3, 6.0 and 7.0.

*What's new*

* Added support for MQ 7.0-style publish/subscribe
* Added support for creating and parsing of MQRFH2 headers
* Added new constants in the module
* Added new structures - MQSRO, MQSD, MQTM, MQTMC2
* PyMQI now supports byte strings
* New MQ verb - MQSUB
* Simplified establishing connections to queue managers
* Added means for checking whether a client application is connected
   to a queue manager

Special thanks to Hannes Wagener for his extraordinary contributions in 
the area of publish/subscribe and MQRFH2!

*Hello world with PyMQI*

Here's an example showing how easy it is to connect to WebSphere MQ and 
put a message on a queue.

import pymqi

qmgr = pymqi.connect("QM01", "SVRCONN.1", "")

q = pymqi.Queue(qmgr, "TEST.QUEUE.1")
q.put("Hello from Python")


Project's homepage:
Download URL:
Usage examples:
IRC: #pymqi channel on Freenode network


Dariusz Suchojad

More information about the Python-announce-list mailing list