Skip to main content

Python Extension for IBM MQ

Project description

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.

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

ibmmq-2.1.0.tar.gz (436.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

ibmmq-2.1.0-cp39-abi3-win_amd64.whl (400.5 kB view details)

Uploaded CPython 3.9+Windows x86-64

ibmmq-2.1.0-cp39-abi3-macosx_11_0_arm64.whl (395.5 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for ibmmq-2.1.0.tar.gz
Algorithm Hash digest
SHA256 63ac906290700b55e88cc7c32232579e4419aba209830b6009d6d89cbb089555
MD5 e32f118d8635b560d94e68a1cdba3031
BLAKE2b-256 6a6be8e38a3e1b828c029e4b0aa39ecdd940319ffe725273a0f8be6efae88a7c

See more details on using hashes here.

File details

Details for the file ibmmq-2.1.0-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: ibmmq-2.1.0-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 400.5 kB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for ibmmq-2.1.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5d68c837f216721b2d6d7495cf91c717670a5cec383b28aa584616a9c48c1c30
MD5 072d6a3fe6c4de0c9039335cd9d3b732
BLAKE2b-256 2009e833b4e18115c94df8b3e6c293755a1cdb5bbd30b935ecc71b89e0206874

See more details on using hashes here.

File details

Details for the file ibmmq-2.1.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: ibmmq-2.1.0-cp39-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 395.5 kB
  • Tags: CPython 3.9+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for ibmmq-2.1.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9dbb2b509ec1e86a8111480e35c5b346fa21bae7266c35634d76dd377da80fdb
MD5 53abde85d38bb68a1accea53ebd95735
BLAKE2b-256 2de6d17301d1171dea40b6ed642557174c0de78fea46568756106d143e98cc88

See more details on using hashes here.

Supported by

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