Python Disque client (very very alpha, as is Disque itself)
Project description
# Disque-py
A [disque](https://github.com/antirez/disque) Python client.
Under the hood, this used redis-py's HiRedis implementation and switches out
Redis commands with the disque ones.
## Usage
```
from disque import DisqueAlpha
c = DisqueAlpha()
c.addjob('queuename', 'body') # takes all ADDJOB arguments
# b'DI... job id ...SQ'
c.getjob('queuename')
# [[b'queue', b'DI3971f14a850d9e5b3ca5c881e3dd1ba2a34277b505a0SQ', b'body']]
```
## Status
- [x] Server commands (slowlog, clients, etc)
- [x] ADDJOB
- [x] GETJOB
- [ ] ACKJOB
- [ ] FASTACK
A [disque](https://github.com/antirez/disque) Python client.
Under the hood, this used redis-py's HiRedis implementation and switches out
Redis commands with the disque ones.
## Usage
```
from disque import DisqueAlpha
c = DisqueAlpha()
c.addjob('queuename', 'body') # takes all ADDJOB arguments
# b'DI... job id ...SQ'
c.getjob('queuename')
# [[b'queue', b'DI3971f14a850d9e5b3ca5c881e3dd1ba2a34277b505a0SQ', b'body']]
```
## Status
- [x] Server commands (slowlog, clients, etc)
- [x] ADDJOB
- [x] GETJOB
- [ ] ACKJOB
- [ ] FASTACK