huey is a lightweight task queue for Python applications. It gives developers a clean API for running background jobs outside the main request or execution flow. The project supports several storage backends, including Redis, Valkey, Redict, SQLite, the file system, and in-memory storage. It can execute tasks with processes, threads, or greenlets, which makes it adaptable to different workloads. Huey also supports scheduled tasks, recurring tasks, retries, task priorities, result storage, expiration, locking, rate limits, timeouts, pipelines, groups, and chords. Overall, it is a practical option for Python teams that want background processing without the complexity of a heavier distributed task system.
Features
- Lightweight task queue for Python
- Redis, Valkey, Redict, SQLite, file-system, and in-memory storage support
- Process, thread, and greenlet execution models
- Scheduled and recurring task support
- Retries, priorities, results, expiration, and timeouts
- Pipelines, chains, groups, chords, locks, and rate limits
