qr icon indicating copy to clipboard operation
qr copied to clipboard

Queues, stacks, deques, and priority queues with Redis in Python

Results 8 qr issues
Sort by recently updated
recently updated
newest added

Heard some nice praise about this project in a recent [episode](https://djangochat.com/episodes/healthcare-jacinda-shelly) of the django-chat podcast. It looks like exactly what I'm looking for, but am concerned that there have been...

-Refactored both qr.py and test/tests.py to be py2/3 compatible with package futurize -Fixed bug in dump() where a 0 value was not allowing the loop to continue and popped with...

Fixes the failing test for serializing and deserializing a Priority Queue to a file. This PR also introduces a change where `PriorityQueue.load()` now uses `self.extend()` to load the items into...

The purpose of this PR is to add expiring priority queue support. The current implementation only support using time as a method of expiration, but a more general method may...

I noticed this while using qr (which is great, btw) with Django, which uses unicode for everything and I ended up using something like q = Queue(u'my_key') without realizing it...

I am not able to reload the content of the PriorityQueue from file using the following: from qr import PriorityQueue filename = "test.data" pr = PriorityQueue('test') pr.push('one', 1) pr.push('two', 2)...