Skip to main content

Python library for IBM MQ

The “ibmmq” package is an open-source Python extension for IBM MQ.

It gives a full-featured implementation of the MQI programming interface, with additional helper functions to assist with system monitoring and management.

Sample code

To put a message on a queue:

import ibmmq

queue_manager = ibmmq.connect('QM1', 'DEV.APP.SVRCONN', '192.168.1.121(1414)')

q = ibmmq.Queue(queue_manager, 'DEV.QUEUE.1')
q.put('Hello from Python!')

To read the message back from the queue:

import ibmmq

queue_manager = ibmmq.connect('QM1', 'DEV.APP.SVRCONN', '192.168.1.121(1414)')

q = ibmmq.Queue(queue_manager, 'DEV.QUEUE.1')
msg = q.get()
print('Here is the message:', msg)

Many more examples are in the project repository and in the dev-patterns repository.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ibmmq-2.0.4.tar.gz (460.5 kB view details)

Uploaded Source

File details

Details for the file ibmmq-2.0.4.tar.gz.

File metadata

  • Download URL: ibmmq-2.0.4.tar.gz
  • Upload date:
  • Size: 460.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for ibmmq-2.0.4.tar.gz
Algorithm Hash digest
SHA256 b4cd15c59137e0e5c987a3bf0a83dcb5e3e11b0316d7d79be4afcd0e2962be5c
MD5 2ace7063720fbf44dc5d0939aad3c783
BLAKE2b-256 80767a7645e85a40357f47d23d43681c66d8a57f735006ef6e07bf85203173da

See more details on using hashes here.

Release history Release notifications | RSS feed

2.1.1

4 files

2.1.0

4 files

2.0.6

1 file

2.0.5

1 file

This release

2.0.4 This release

1 file

2.0.3

1 file

2.0.2

1 file

2.0.1

1 file

2.0.0

1 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