Skip to main content

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

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page