{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/2"}],"enrichment":{"capability":"Huey is a lightweight task queue library that lets you run Python functions asynchronously, schedule them for later execution, and manage retries and result storage with minimal setup.","skillfed_tags":["task-queue","job-scheduling","background-workers"],"use_cases":["Send emails or notifications asynchronously without blocking web requests.","Schedule periodic maintenance tasks like backups or data cleanup using crontab-like syntax.","Retry flaky operations (API calls, database writes) with configurable delays and attempt limits.","Process long-running computations in background workers while keeping your web app responsive.","Coordinate multi-step workflows using task pipelines, chains, and fan-out/map-reduce patterns."],"what_it_does":"Huey is a task queue library designed to be simple and lightweight, letting you defer work to background processes without heavy infrastructure. You decorate Python functions with @huey.task() to mark them for asynchronous execution, then call them normally\u2014the function returns a result handle immediately while the actual work runs in a separate consumer process. It supports multiple storage backends (Redis, PostgreSQL, SQLite, file-system, or in-memory), multiple execution models (processes, threads, or greenlets), and features like automatic retries, scheduling, recurring tasks, task prioritization, and result caching.\n\nTypical usage involves defining tasks in your application code, then running a separate consumer process (huey_consumer) that picks work off the queue and executes it. Django integration is built in, with optional admin UI for monitoring. The library has no hard dependencies\u2014you only install what you need for your chosen broker\u2014making it a good fit for projects that want task queueing without the complexity of larger systems.","worth_installing":"Yes. Huey is actively maintained, has no required dependencies, supports multiple storage backends, and offers a clean API for task queueing. It's well-suited for projects that need background job execution without the operational overhead of larger systems. The only caveat is that the license status is unclear in the fact sheet, so verify the actual license before use in proprietary or restricted contexts."},"id":"huey","links":{"html":"https://skillfed.io/packages/huey","md":"https://skillfed.io/packages/huey.md","pypi":"https://pypi.org/project/huey/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-05","license_spdx":null,"license_treatment":"unclear","name":"huey","python_support":"unspecified","summary":"a little task queue"},"popularity":{"monthly_downloads":21048581,"position":1013,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"3.3.4"}
