Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
For many years, PyMQI has been the go-to way to work with IBM MQ from Python. It has a strong community and has enabled countless automation and integration workflows. As IBM MQ has continued to evolve, new capabilities have been introduced that are not yet reflected in PyMQI.
Python is widely used in automation, cloud, and AI environments. Ensuring MQ has a current Python interface is important for integration in these areas.
To provide a maintained and up-to-date alternative, we’ve created a new open-source package: ibmmq. The ibmmq package will be the Python binding that tracks new IBM MQ levels going forward. If you are starting new projects or maintaining existing MQ applications in Python, we recommend evaluating this library.
The ibmmq package is available now on PyPI and GitHub.
The package is open-source, with issues and pull requests welcome.
This package has been substantially rewritten from its predecessor, in order to modernize the implementation and make it more maintainable. Various obsolete features have been removed, while capabilities from the latest levels of IBM MQ (and some gaps left in pymqi) have been added. The design document provides background on many of these changes.
Rewritten with a cleaner, maintainable codebase; Python and C layers are kept in sync at runtime.
Adds support for features PyMQI never handled well (e.g. JWT).
Simplifies structure versioning and string/byte handling.
Requires Python 3.9+ and a 64-bit MQ client + SDK (9.1 or later).
Finally, many thanks to Mark Taylor, Soheel Chughtai, and Richard Coppen for their work on this project.
Copy