Skip to main content

Python queue implemented on top of Redis.

Project description

redis_simple_queue
---------------

redis_simple_queue implements a queue on top of Redis.

Requires:

* Redis 2.0+
* Newest version of redis-py http://github.com/andymccurdy/redis-py
* redis_wrap http://pypi.python.org/pypi/redis_wrap

Examples
----------

Example of using the queue::

from redis_simple_queue import *

delete_jobs('tasks')

put('tasks', '42')

assert 'tasks' in get_all_queues()
assert queue_stats('tasks')['queue_size'] == 1

assert reserve('tasks') == '42'
assert queue_stats('tasks')['queue_size'] == 0

Copyright: 2010 by amix
License: BSD.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Files for redis_simple_queue, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size redis_simple_queue-1.0-py2.6.egg (3.4 kB) File type Egg Python version 2.6 Upload date Hashes View
Filename, size redis_simple_queue-1.0.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page