{ "info": { "author": "Ask Solem", "author_email": "ask@celeryproject.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Mozilla Public License 1.0 (MPL)", "Operating System :: OS Independent", "Programming Language :: C", "Topic :: Communications", "Topic :: Software Development :: Libraries", "Topic :: System :: Networking" ], "description": "==================================================\n pylibrabbitmq - Python bindings to librabbitmq-c\n==================================================\n\n:Version: 0.5.0\n:Download: http://pypi.python.org/pypi/pylibrabbitmq/\n:Code: http://github.com/ask/pylibrabbitmq/\n:Keywords: rabbitmq, amqp, messaging, librabbitmq, rabbitmq-c, python\n\n.. contents::\n :local:\n\nExperimental Python bindings to the RabbitMQ C-library `librabbitmq`_.\n\n\nYou should probably use `amqplib`_ instead, but when needed you can \ncome back to this if the extra performance is needed.\n\n.. _`librabbitmq`: http://hg.rabbitmq.com/rabbitmq-c/\n.. _`amqplib`: http://barryp.org/software/py-amqplib/\n\nInstallation\n============\n\nTo install you need to compile `librabbitmq`::\n\n $ mkdir -p /opt/Build/rabbit\n $ cd /opt/Build/rabbit\n $ hg clone http://hg.rabbitmq.com/rabbitmq-codegen/\n $ hg clone http://hg.rabbitmq.com/rabbitmq-c/\n $ cd rabbitmq-c\n $ autoreconf -i\n $ ./configure\n $ make\n $ make install\n\nThen you can install this package::\n\n $ cd pylibrabbitmq-x.x.x\n $ python setup.py install\n\nExamples\n========\n\n >>> from pylibrabbitmq import Connection, Message\n\n >>> conn = Connection(host=\"localhost\", userid=\"guest\",\n ... password=\"guest\", virtual_host=\"/\")\n\n >>> channel = conn.channel()\n >>> channel.exchange_declare(exchange, type, ...)\n >>> channel.queue_declare(queue, ...)\n >>> channel.queue_bind(queue, exchange, routing_key)\n\nProduce\n-------\n\n >>> m = Message(body, content_type=None, content_encoding=None,\n ... delivery_mode=1)\n >>> channel.basic_publish(m, exchange, routing_key, ...)\n\nConsume\n-------\n\n >>> def dump_message(message):\n ... print(\"Body:'%s', Proeprties:'%s', DeliveryInfo:'%s'\" % (\n ... message.body, message.properties, message.delivery_info))\n ... message.ack()\n\n >>> channel.basic_consume(queue, ..., callback=dump_message)\n\n >>> while True:\n ... connection.drain_events()\n\nPoll\n----\n\n >>> message = channel.basic_get(queue, ...)\n >>> if message:\n ... dump_message(message)\n ... print(\"Body:'%s' Properties:'%s' DeliveryInfo:'%s'\" % (\n ... message.body, message.properties, message.delivery_info))\n\n\nOther\n-----\n\n >>> channel.queue_unbind(queue, ...)\n >>> channel.close()\n >>> connection.close()\n\nLicense\n=======\n\nThis software is licensed under the ``Mozilla Public License``.\nSee the ``LICENSE-MPL-RabbitMQ`` file in the top distribution directory\nfor the full license text.\n\n.. # vim: syntax=rst expandtab tabstop=4 shiftwidth=4 shiftround", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/ask/pylibrabbitmq", "keywords": null, "license": "MPL", "maintainer": null, "maintainer_email": null, "name": "pylibrabbitmq", "package_url": "https://pypi.org/project/pylibrabbitmq/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pylibrabbitmq/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/ask/pylibrabbitmq" }, "release_url": "https://pypi.org/project/pylibrabbitmq/0.5.0/", "requires_dist": null, "requires_python": null, "summary": "Python bindings to librabbitmq-c", "version": "0.5.0" }, "last_serial": 797352, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "b28b6c706c3d8a0f2b8054a3452f7653", "sha256": "3f0452629fa3ae00350430a0b3ecec4ae01e32c065122506acc08cf26beab7cc" }, "downloads": -1, "filename": "pylibrabbitmq-0.0.1.tar.gz", "has_sig": false, "md5_digest": "b28b6c706c3d8a0f2b8054a3452f7653", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22187, "upload_time": "2010-06-14T11:56:46", "url": "https://files.pythonhosted.org/packages/73/20/62e056701acf06aff2dad8e311bef6c267332bd30abf06a9783c47ee8409/pylibrabbitmq-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "786b00d40334734a25c135767939249d", "sha256": "22349365dfe8ffb0ec637134ca94bcedfe9dd1ae9f1872728536b0c925bd764a" }, "downloads": -1, "filename": "pylibrabbitmq-0.0.2.tar.gz", "has_sig": false, "md5_digest": "786b00d40334734a25c135767939249d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30485, "upload_time": "2011-01-24T13:40:00", "url": "https://files.pythonhosted.org/packages/03/2f/820104743bc731a19193ca6b901df3c21ceb63f441b0248018c1019859b7/pylibrabbitmq-0.0.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "139b07e93b97bc08c16830cab405ceee", "sha256": "745dc373069dae46f2f29565e0f72604888e100417993668c51d9b7de7bfd39d" }, "downloads": -1, "filename": "pylibrabbitmq-0.2.0.tar.gz", "has_sig": false, "md5_digest": "139b07e93b97bc08c16830cab405ceee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30819, "upload_time": "2011-01-24T13:44:27", "url": "https://files.pythonhosted.org/packages/f8/27/5f10f1d774dab74313309317c65243c5abc395822aa58f6f297ec0a9c365/pylibrabbitmq-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "6d054a98ce79eee7c97e583100722146", "sha256": "b5082d26a7e300a7741f63e339c0bcca7b5dfa457726672d3410d7bdbb056553" }, "downloads": -1, "filename": "pylibrabbitmq-0.3.0.tar.gz", "has_sig": false, "md5_digest": "6d054a98ce79eee7c97e583100722146", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27510, "upload_time": "2011-06-28T16:44:25", "url": "https://files.pythonhosted.org/packages/fa/6c/6fb971a85e542cfc8b7df24f62b746afbc8c0e97a33b93a19ec69e10fa52/pylibrabbitmq-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "573488b552c4379175b9e0021fad9565", "sha256": "0db55f73363beac25888026694efc8122ec677b2793349b2b7a105724891d5e2" }, "downloads": -1, "filename": "pylibrabbitmq-0.4.0.tar.gz", "has_sig": false, "md5_digest": "573488b552c4379175b9e0021fad9565", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 47790, "upload_time": "2011-09-02T18:47:25", "url": "https://files.pythonhosted.org/packages/76/d6/33671d63a99c4f017481dc9167612e294dcc55b705e107ba151d2c9ef0d1/pylibrabbitmq-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "ddc6427415140030b6b25b1c77ef8fcf", "sha256": "a6bf0ff1bb9faf534a55b7d8ba6fd1dbb1fb47822ac026ce7478a59ae69582aa" }, "downloads": -1, "filename": "pylibrabbitmq-0.4.1.tar.gz", "has_sig": false, "md5_digest": "ddc6427415140030b6b25b1c77ef8fcf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28538, "upload_time": "2011-09-27T15:08:26", "url": "https://files.pythonhosted.org/packages/e6/b8/6ddfd955fceb0c8c5faca33e3f09a348c4dbb401fc397e98a0ad104fa86b/pylibrabbitmq-0.4.1.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "4e666893fed0f8d1d6e07a22707dca01", "sha256": "a22d57fcd4e8dfa289b5a8921c6d869170347b07b4116e420e1dac20fa6e7662" }, "downloads": -1, "filename": "pylibrabbitmq-0.5.0.tar.gz", "has_sig": false, "md5_digest": "4e666893fed0f8d1d6e07a22707dca01", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30551, "upload_time": "2011-12-07T18:26:11", "url": "https://files.pythonhosted.org/packages/77/8e/297cb11400939280c407a8701bac9bba96c8e80964b0285551dd80a91ef7/pylibrabbitmq-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4e666893fed0f8d1d6e07a22707dca01", "sha256": "a22d57fcd4e8dfa289b5a8921c6d869170347b07b4116e420e1dac20fa6e7662" }, "downloads": -1, "filename": "pylibrabbitmq-0.5.0.tar.gz", "has_sig": false, "md5_digest": "4e666893fed0f8d1d6e07a22707dca01", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30551, "upload_time": "2011-12-07T18:26:11", "url": "https://files.pythonhosted.org/packages/77/8e/297cb11400939280c407a8701bac9bba96c8e80964b0285551dd80a91ef7/pylibrabbitmq-0.5.0.tar.gz" } ] }