Python implementation of a thread-safe and efficient double-ended priority queue (DEPQ) in which items and their priority values are stored in a deque object as tuples. This of course can also be used ...
It can do simple things like this: Or somewhat more complex like that: The full documentation also covers the optional queued, thread-safe, async, serialization, and builder modules. See Unit Tests to ...