Skip to main content
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'

Metadata

Release files for redis_queue 0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for redis_queue 0.5
File Size Uploaded
redis_queue-0.5.tar.gz 7.5 kB Details

Release files / redis_queue-0.5.tar.gz

Download URL redis_queue-0.5.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
beccfd48e19e7c0603a7cbdf4bfce23e449470ba2d4a2bc79cfe9733ab0ff842
BLAKE2b-256 checksum
How to use checksums
6ff704822d1dd353740d6066481c733691277d2497d08e84fb7431668b7e38d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.5 This release

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page