queuesA lowest-common-denominator API for interacting with lightweight queue services | |
Download |
queues Ranking & Summary
Advertisement
- License:
- Choose...
- Price:
- FREE
- Publisher Name:
- Matt Croydon
- Publisher web site:
- http://code.google.com/u/mcroydon/
queues Tags
queues Description
A lowest-common-denominator API for interacting with lightweight queue services queues is a very simple API for interacting with lightweight queues. Currently queues that speak the memcached protocol, Amazon's SQS service, and Beanstalkd are supported. External backends can be easily defined and used as long as they conform to the BaseQueue API.This library is designed to be configured either from a Django settings file or via environment variables. Heavy lifting is done by one of the backend libraries:Example usage:$ export QUEUE_BACKEND=memcached$ export QUEUE_MEMCACHE_CONNECTION=localhost:21122$ python>>> from queues import queues>>> q = queues.Queue('myname')>>> q.write('test')True>>> len(q)1>>> q.read()test>>> queues.get_list() Requirements: · Python
queues Related Software