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).

Dependencies

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

Testimonial(s)

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

Retask is a simple task queue implementation written for human beings. It provides generic solution to create and manage task queues.

Feedback is greatly appreciated. If you have any questions, comments, random praise, or anonymous threats, shoot me an email.

Useful Links

This Page

Fork me on GitHub