Personal tools
Skip to content. | Skip to navigation
This is a fork of amqplib which was originally written by Barry Pederson. It is maintained by the Celery project, and used by kombu as a pure python alternative when librabbitmq is not available. This library should be API compatible with librabbitmq. Differences from amqplib * Supports draining events from multiple channels (Connection.drain_events) * Support for timeouts * Channels are restored after channel error, instead of having to close the connection. * Support for heartbeats o Connection.heartbeat_tick(rate=2) must called at regular intervals (half of the heartbeat value if rate is 2). o Or some other scheme by using Connection.send_heartbeat. * Supports RabbitMQ extensions: o Consumer Cancel Notifications + by default a cancel results in ChannelError being raised + but not if a on_cancel callback is passed to basic_consume. o Publisher confirms + Channel.confirm_select() enables publisher confirms. + Channel.events['basic_ack'].append(my_callback) adds a callback to be called when a message is confirmed. This callback is then called with the signature (delivery_tag, multiple). o Exchange-to-exchange bindings: exchange_bind / exchange_unbind. + Channel.confirm_select() enables publisher confirms. + Channel.events['basic_ack'].append(my_callback) adds a callback to be called when a message is confirmed. This callback is then called with the signature (delivery_tag, multiple). * Support for basic_return * Uses AMQP 0-9-1 instead of 0-8. o Channel.access_request and ticket arguments to methods removed. o Supports the arguments argument to basic_consume. o internal argument to exchange_declare removed. o auto_delete argument to exchange_declare deprecated o insist argument to Connection removed. o Channel.alerts has been removed. o Support for Channel.basic_recover_async. o Channel.basic_recover deprecated. * Exceptions renamed to have idiomatic names: o AMQPException -> AMQPError o AMQPConnectionException -> ConnectionError`` o AMQPChannelException -> ChannelError`` o Connection.known_hosts removed. o Connection no longer supports redirects. o exchange argument to queue_bind can now be empty to use the "default exchange". * Adds Connection.is_alive that tries to detect whether the connection can still be used. * Adds Connection.connection_errors and .channel_errors, a list of recoverable errors. * Exposes the underlying socket as Connection.sock. * Adds Channel.no_ack_consumers to keep track of consumer tags that set the no_ack flag. * Slightly better at error recovery
Client library for AMQP (Advanced Message Queuing Protocol) Supports the 0-8 AMQP spec, and has been tested with RabbitMQ and Python's 2.4, 2.5, and 2.6.
Anyjson loads whichever is the fastest JSON module installed and provides a uniform API regardless of which JSON implementation is used.
This package contains extensions to the multiprocessing Pool. billiard is a fork of the Python 2.7 multiprocessing package. The multiprocessing package itself is a renamed and updated version of R Oudkerk's pyprocessing package. This standalone variant is intended to be compatible with Python 2.4 and 2.5, and will draw it's fixes/improvements from python-trunk. * This package would not be possible if not for the contributions of not only the current maintainers but all of the contributors to the original pyprocessing package listed here * Also it is a fork of the multiprocessin backport package by Christian Heims. * It includes the no-execv patch contributed by R. Oudkerk. * And the Pool improvements previously located in Celery.
An open source asynchronous task queue/job queue based on distributed message passing. It is focused on real-time operation, but supports scheduling as well. The execution units, called tasks, are executed concurrently on one or more worker nodes using multiprocessing, Eventlet or gevent. Tasks can execute asynchronously (in the background) or synchronously (wait until ready). Celery is used in production systems to process millions of tasks a day. Celery is written in Python, but the protocol can be implemented in any language. It can also operate with other languages using webhooks. The recommended message broker is RabbitMQ, but limited support for Redis, Beanstalk, MongoDB, CouchDB and databases (using SQLAlchemy or the Django ORM) is also available.
A drop-in substitute for Py2.7's new collections.Counter that works in Python 2.4-2.6.
Python-crypto is a collection of both secure hash functions (such as MD5 and SHA), and various encryption algorithms (AES, DES, RSA, ElGamal etc.).
PyCrypto is a collection of both secure hash functions (such as MD5 and SHA), and various encryption algorithms (AES, DES, RSA, ElGamal, etc.).
The dateutil module provides powerful extensions to the standard datetime module available in Python 2.3+.