Skip to content

majoros/pymqi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyMQI - Python interface to WebSphere MQ (MQSeries)

Sponsored by Zato - ESB, SOA, REST, APIs and Cloud Integrations in Python

PyMQI allows one to connect to queue managers to issue MQAI and PCF requests.

Consider the code below which establishes a connection, puts a message on a queue and disconnects.

    import pymqi
    
    queue_manager = 'QM01'
    channel = 'SVRCONN.1'
    host = '192.168.1.135'
    port = '1434'
    queue_name = 'TEST.1'
    message = 'Hello from Python!'
    conn_info = '%s(%s)' % (host, port)
    
    qmgr = pymqi.connect(queue_manager, channel, conn_info)
    
    queue = pymqi.Queue(qmgr, queue_name)
    queue.put(message)
    queue.close()
    
    qmgr.disconnect()

More usage examples can be found here https://pythonhosted.org/pymqi/examples.html

Supported MQ versions

Any MQ version between 5.0 and 8.0 will work however the author is able to provide free support only for Linux x86 64-bit, MQ versions 8.x and Python 2.7.x.

Support for other versions and systems needs either someone from the commnuity to step up or contacting the author dsuch@zato.io in order to discuss paid support options.

Download

Downloads are hosted on PyPI https://pypi.python.org/pypi/pymqi

Changelog

  • 1.5.4 (2015-09-22)

    • Moved setup.py's py_modules to correct place
  • 1.5.3 (2015-09-21)

    • Added missing modules to setup.py
  • 1.5.2 (2015-09-21)

    • Previous release failed to upload to PyPI
  • 1.5.1 (2015-09-21)

    • Added a missing 'requirements.txt' file
  • 1.5 (2015-09-18)

    • Added MQ 8.0.x compatibility
    • Added the ability to connect to MQ 8.0+ queue managers with username/password credentials
    • Moved code to a top-level 'pymqi' package

(No changelog for prior versions)

More information

Please visit the main documentation at https://pythonhosted.org/pymqi/index.html for more information.

About

Python interface to WebSphere MQ (MQSeries) - main docs at https://pythonhosted.org/pymqi/index.html

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 84.4%
  • C 15.6%