smrchy / rsmq

Redis Simple Message Queue
MIT License
1.76k stars 125 forks source link

Add Async Python implementation #136

Open federicotdn opened 3 years ago

federicotdn commented 3 years ago

Hi! I've created a new Python implementation of RSMQ, using an async Redis library, which enables the entire package to be async as well.

You can find it here: https://github.com/federicotdn/aiorsmq

I've added some tests that run it against the main JavaScript RSMQ implementation. The interface of aiorsmq is almost the same as the one for RSMQ, with some changes made to make it more pythonic (and thus easier to use for Python users). Internally, it does exactly the same stuff that RSMQ does.

Hopefully the current work done will be enough to add it to the alternative implementations list - let me know if I'm missing anything.

Thanks!