Retask: simple Task Queue

retask is a python module to create and manage distributed task queue/job queue.

It uses Redis to create task queues. User can enqueue and dequeue tasks in the queues they manage. Each task can contain any JSON serializable python objects. We use JSON internally to store the tasks in the queues.

Workers can execute tasks and return the result asynchronously and if required synchronously (wait until worker returns the result to the job).


  • python-redis
  • mock (for tests)
  • A running Redis server


Ralph Bean
python-retask made job distribution easy at a time when I didn’t want to have to think about job distribution. Life saver.

API Documentation

Indices and tables