Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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.
Release History

Release History

This version
History Node

1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
redis_simple_queue-1.0-py2.6.egg (3.4 kB) Copy SHA256 Checksum SHA256 2.6 Egg Dec 3, 2010
redis_simple_queue-1.0.tar.gz (1.8 kB) Copy SHA256 Checksum SHA256 Source Dec 3, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting