Skip to main content

Python client implementation for Apache Qpid

Project description

Mar 14, 2016: 0.32.1 - Added patches to 0.32 upstream source:

QPID-6445-Revert-the-error-checking-code-to-not-clos.patch NO-JIRA-Fix-for-python-client-ValueError-exception.-.patch QPID-6839-python-qpid-Log-the-failure-of-the-Selecto.patch QPID-7053-Add-a-callback-that-is-invoked-when-asynch.patch

This distribution contains the Python client libraries for Apache Qpid.

Apache Qpid is a high-speed, language independent, platform independent enterprise messaging system. It currently provides two messaging brokers (one implemented in C++, one implemented in Java), and messaging client libraries for Java JMS, C++, C# .NET, Python, Ruby, and WCF. The messaging protocol for Apache Qpid is AMQP (Advanced Message Queuing Protocol). You can read more about Qpid here:

http://qpid.apache.org/

Documentation can be found here:

http://qpid.apache.org/documentation.html

= GETTING STARTED =

1. Make sure the Qpid Python client libraries are on your PYTHONPATH. If you have extracted the archive to the directory INSTALLPATH, the following export will work:

$ export PYTHONPATH=${PYTHONPATH}:${INSTALLPATH}/qpid-0.8/python

  1. Make sure a broker is running
  2. Run the ‘hello’ example from qpid-0.8/python/examples/api:

$ ./hello Hello world!

= EXAMPLES =

The examples/api directory contains several examples.

Read examples/README.txt for further details on these examples.

= RUNNING THE TESTS =

The “tests” directory contains a collection of unit tests for the python client. The “tests_0-10”, “tests_0-9”, and “tests_0-8” directories contain protocol level conformance tests for AMQP brokers of the specified version.

The qpid-python-test script may be used to run these tests. It will by default run the python unit tests and the 0-10 conformance tests:

  1. Run a broker on the default port
  2. ./qpid-python-test

If you wish to run the 0-8 or 0-9 conformence tests, they may be selected as follows:

  1. Run a broker on the default port

  2. ./qpid-python-test tests_0-8.*

    – or –

    ./qpid-python-test tests_0-9.*

See the qpid-python-test usage for for additional options:

./qpid-python-test -h

Project details


Download files

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

Files for qpid-python, version 0.32.1
Filename, size File type Python version Upload date Hashes
Filename, size qpid-python-0.32.1.tar.gz (151.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page