{"id":13420378,"url":"https://github.com/celery/librabbitmq","last_synced_at":"2025-05-16T10:08:20.346Z","repository":{"id":43399044,"uuid":"718363","full_name":"celery/librabbitmq","owner":"celery","description":"Python bindings to librabbitmq-c","archived":false,"fork":false,"pushed_at":"2024-10-15T10:55:51.000Z","size":2677,"stargazers_count":204,"open_issues_count":27,"forks_count":91,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-05-07T23:24:19.524Z","etag":null,"topics":["amqp","amqp-client","amqp0-9-1","c","library","python"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/celery.png","metadata":{"files":{"readme":"README.rst","changelog":"Changelog","contributing":null,"funding":null,"license":"LICENSE-GPL-2.0","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2010-06-13T07:36:17.000Z","updated_at":"2025-04-29T10:12:38.000Z","dependencies_parsed_at":"2024-11-06T06:35:10.700Z","dependency_job_id":"0cf1490f-287b-47b1-9a4d-f086dee28221","html_url":"https://github.com/celery/librabbitmq","commit_stats":{"total_commits":288,"total_committers":41,"mean_commits":7.024390243902439,"dds":0.4340277777777778,"last_synced_commit":"9c7d73f06d0be3c3dd8f5bb84db3dfd5ddc514a3"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celery%2Flibrabbitmq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celery%2Flibrabbitmq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celery%2Flibrabbitmq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celery%2Flibrabbitmq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/celery","download_url":"https://codeload.github.com/celery/librabbitmq/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254509477,"owners_count":22082892,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amqp","amqp-client","amqp0-9-1","c","library","python"],"created_at":"2024-07-30T22:01:32.406Z","updated_at":"2025-05-16T10:08:15.325Z","avatar_url":"https://github.com/celery.png","language":"C","readme":"================================================================\n librabbitmq - Python AMQP Client using the rabbitmq-c library.\n================================================================\n\n:Version: 2.0.0\n:Download: http://pypi.python.org/pypi/librabbitmq/\n:Code: http://github.com/celery/librabbitmq/\n:Keywords: rabbitmq, amqp, messaging, librabbitmq, rabbitmq-c, python,\n           kombu, celery\n\n.. contents::\n    :local:\n\nPython bindings to the RabbitMQ C-library `rabbitmq-c`_.\nSupported by Kombu and Celery.\n\n.. _`rabbitmq-c`: https://github.com/alanxz/rabbitmq-c\n\nInstallation\n============\n\nInstall via pip::\n\n    $ pip install librabbitmq\n\nor, install via easy_install::\n\n    $ easy_install librabbitmq\n\nDownloading and installing from source\n--------------------------------------\n\nDownload the latest version from\n    http://pypi.python.org/pypi/librabbitmq/\n\nThen install it by doing the following,::\n\n    $ tar xvfz librabbitmq-0.0.0.tar.gz\n    $ cd librabbitmq-0.0.0\n    $ python setup.py build\n    # python setup.py install # as root\n\nUsing the development version\n-----------------------------\n\nYou can clone the repository by doing the following::\n\n    $ git clone git://github.com/celery/librabbitmq.git\n\nThen install it by doing the following::\n\n    $ cd librabbitmq\n    $ make install        # or make develop\n\nExamples\n========\n\nUsing with Kombu::\n\n    \u003e\u003e\u003e from kombu import Connection\n    \u003e\u003e\u003e x = Connection(\"librabbitmq://\")\n\n\nStand-alone::\n\n    \u003e\u003e\u003e from librabbitmq import Connection\n\n    \u003e\u003e\u003e conn = Connection(host=\"localhost\", userid=\"guest\",\n    ...                   password=\"guest\", virtual_host=\"/\")\n\n    \u003e\u003e\u003e channel = conn.channel()\n    \u003e\u003e\u003e channel.exchange_declare(exchange, type, ...)\n    \u003e\u003e\u003e channel.queue_declare(queue, ...)\n    \u003e\u003e\u003e channel.queue_bind(queue, exchange, routing_key)\n\nProducing\n---------\n\n::\n\n    \u003e\u003e\u003e channel.basic_publish(body, exchange, routing_key, ...)\n\nConsuming\n---------\n\n::\n\n    \u003e\u003e\u003e def dump_message(message):\n    ...     print(\"Body:'%s', Properties:'%s', DeliveryInfo:'%s'\" % (\n    ...         message.body, message.properties, message.delivery_info))\n    ...     message.ack()\n\n    \u003e\u003e\u003e channel.basic_consume(queue, ..., callback=dump_message)\n\n    \u003e\u003e\u003e while True:\n    ...    connection.drain_events()\n\nPoll\n----\n\n::\n\n    \u003e\u003e\u003e message = channel.basic_get(queue, ...)\n    \u003e\u003e\u003e 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::\n\n    \u003e\u003e\u003e channel.queue_unbind(queue, ...)\n    \u003e\u003e\u003e channel.close()\n    \u003e\u003e\u003e 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\n","funding_links":[],"categories":["TODO scan for Android support in followings"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcelery%2Flibrabbitmq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcelery%2Flibrabbitmq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcelery%2Flibrabbitmq/lists"}