Metadata-Version: 1.0
Name: redis-queue
Version: 0.5
Summary: A persistent, (mostly) atomic queue (like deque or Queue) implemented with redis backing.
Home-page: http://bitbucket.org/npilon/redis_queue/
Author: Nicholas Pilon
Author-email: npilon@oreilly.com
License: Apache
Description: redis_queue is useful for implementing a multi-producer,
              multi-consumer job queue. While it doesn't have all the handy blocking and
              locking features of Queue, it does have the advantages of being
              multi-process safe and persistant.
              
              Example Usage:::
                  >>> from redis import Redis
                  >>> from redis_queue import Queue
                  >>> redis = Redis(host='127.0.0.1', port=6379)
                  >>> queue = Queue(redis, 'test_queue')
                  >>> queue.append('one')
                  >>> queue.append('two')
                  >>> queue.append('three')
                  >>> queue.pop()
                  'three'
                  >>> queue.pop()
                  'two'
                  >>> queue.pop()
                  'one'
                  >>> queue.append('one')
                  >>> queue.append('two')
                  >>> queue.append('three')
                  >>> queue.popleft()
                  'one'
                  >>> queue.popleft()
                  'two'
                  >>> queue.popleft()
                  'three'
              
Keywords: queue redis
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Database
