Skip to content
a little multi-threaded task queue for python
Find file
New pull request
Latest commit a1d8158 @coleifer Merge pull request #120 from anentropic/redis-from-url
allow to specify main redis conenction params in url form


huey - a little task queue

a lightweight alternative.

  • written in python
  • no deps outside the standard lib, except Redis (or you can roll your own backend)
  • support for Django


  • multi-threaded task execution
  • scheduled execution at a given time
  • periodic execution, like a crontab
  • retrying tasks that fail
  • task result storage

Huey's API

from huey import RedisHuey, crontab

huey = RedisHuey('my-app', host='')

def add_numbers(a, b):
    return a + b

@huey.periodic_task(crontab(minute='0', hour='3'))
def nightly_backup():


See Huey documentation.

Project page

See source code and issue tracker on Github.

named after my cat:
Something went wrong with that request. Please try again.