Metadata-Version: 2.1
Name: pymqi
Version: 1.12.9
Summary: Python IBM MQI Extension for IBM MQ (formerly WebSphere MQ and MQSeries).
Home-page: https://zato.io/pymqi
Download-URL: https://zato.io/pymqi/install.html
Author: Zato Source s.r.o.
Author-email: pymqi@zato.io
License: Python Software Foundation License
Keywords: pymqi IBM MQ WebSphere WMQ MQSeries IBM middleware messaging queueing asynchronous SOA EAI ESB integration
Platform: OS Independent
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: Python Software Foundation License
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: C
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Object Brokering
License-File: LICENSE


Python library for IBM MQ
-------------------------

PyMQI is a production-ready, open-source Python extension for IBM MQ (formerly known as WebSphere MQ and MQSeries).

For 20+ years, the library has been used by thousands of companies around the world with their queue managers running on
Linux, Windows, UNIX and z/OS.

Sample code
===========

To put a message on a queue:

.. code-block:: python

    import pymqi

    queue_manager = pymqi.connect('QM.1', 'SVRCONN.CHANNEL.1', '192.168.1.121(1434)')

    q = pymqi.Queue(queue_manager, 'TESTQ.1')
    q.put('Hello from Python!')

To read the message back from the queue:

.. code-block:: python

    import pymqi

    queue_manager = pymqi.connect('QM.1', 'SVRCONN.CHANNEL.1', '192.168.1.121(1434)')

    q = pymqi.Queue(queue_manager, 'TESTQ.1')
    msg = q.get()
    print('Here is the message:', msg)

The backbone of IBM MQ Python messaging
=======================================

PyMQI is a low-level library that requires one to know IBM MQ APIs well.

It serves, however, as the basis for
IBM MQ
support
in
`Zato <https://zato.io>`_,
which is an enterprise
API platform and backend application server in Python that lets one connect to many technologies
with little or no programming.

This includes IBM MQ queue managers as well as the ability to seamlessly integrate with Java JMS systems.

.. image:: https://zato.io/en/docs/3.2/gfx/api/screenshots/conn1.png

.. image:: https://zato.io/en/docs/3.2/gfx/api/screenshots/mq.png

Learn more
==========

Visit the `documentation <https://zato.io/en/docs/3.2/pymqi/index.html?gh>`_ for more information and usage examples.
