2.0.3
2.0.3 - 2023-05-10T03:44:15Z
This version introduced a new class-based API via the Q
object.
The function-based API is officially deprecated and will be removed
in v3.
Changed
sortiter
now sorts the list of waiting messages in place to improve performance (~50%).- replaced
pylint
withruff
- #6: supported python versions: removed 3.6, 3.7; added 3.10, 3.11
Added
- build badge
- #1: support for
threading
- #3:
map
function for simple use-cases - #4:
Q
class wrapper for the queue
Deprecated
Most of the function-based API is now deprecated.
put_msg
: useQ.put()
insteaditer_msg
: useiter(Q)
insteaditer_q
: useQ.items()
insteadsortiter
: useQ.sorted()
insteadendq
: useQ.end()
insteadendq_and_wait
: useQ.stop()
instead