Registry / messaging / pymqi
library1.12.13pypypiunverified

pymqi is a Python wrapper for IBM MQ (MQSeries) allowing Python programs to connect to IBM MQ queue managers. Current version is 1.12.13, development is on hold. Release cadence is low; last release was in 2024.

pip install pymqi
INSTALL
IMPORT
SIG · PYMQI
P
pymqi
messagingpythonv1.12.13
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

QueueManager
from pymqi import QueueManager
import pymqi; qmgr = pymqi.connect(...)
pymqi provides a structured API; direct use of pymqi.connect is deprecated.

Replaces deprecated pymqni.connect_tcp_client2().

import pymqi import os qmgr = pymqi.QueueManager(None) qmgr.connect_tcp_client( os.environ.get('MQ_HOST', 'localhost'), int(os.environ.get('MQ_PORT', '1414')), os.environ.get('MQ_CHANNEL', 'SYSTEM.DEF.SVRCONN'), os.environ.get('MQ_MANAGER', 'QM1'), ) print('Connected to queue manager:', qmgr) qmgr.disconnect()
Debug
Known issues
breakingconnect_tcp_client() now requires a bytes channel name (b'CHANNEL') in some versions. Using a str channel may raise TypeError.
fix
Use bytes: b'SYSTEM.DEF.SVRCONN'
affects: >=1.12.0
deprecatedpymqi.connect() and pymqi.connect_tcp_client2() are deprecated since v1.12.0.
fix
Use QueueManager.connect_tcp_client() or CDM.
affects: >=1.12.0
gotchapymqi does not bundle the IBM MQ client libraries. You must install the MQ client (e.g., from IBM) separately and set environment variables like LD_LIBRARY_PATH or PATH.
fix
Install IBM MQ client and set library path.
affects: all
Upgrade
Version history
1.12.13latest on PyPI · released Nov 18, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
24
Amazon
1
OpenAI (training)
1
Resources

No resource links recorded.

pymqi — pip install pymqi · libregistry