bisibility — Track Google rankings and Search Console insights. Free during beta.
Try bisibility freeOur product
Favicon of Huey

Huey

PublishedLast updated

Huey is a lightweight Python task queue with a clean API supporting Redis, SQLite, or in-memory storage for background job processing.

Screenshot of Huey website

Huey is a lightweight, versatile task queue that gives Python developers a clean and simple API for background job processing.

Key Features:

  • Flexible Storage - Choose Redis, SQLite, file-system, or in-memory storage as your backend.
  • Task Scheduling - Schedule tasks at specific times, after delays, or with crontab-style periodic execution.
  • Task Pipelines - Chain tasks together into pipelines for sequential batch processing workflows.
  • Auto-Retry - Automatically retry failed tasks with configurable delays and attempt limits.
  • Task Prioritization - Assign priorities to ensure critical jobs are processed first.
  • Multiple Execution Models - Run with multi-process, multi-thread, or greenlet workers.

Whether you're processing scraped data, running periodic extracts, or handling lightweight background tasks, Huey provides a minimal yet feature-rich solution.

Web scraping workflow

How to use Huey in a web scraping pipeline

Huey moves Python function calls into a background consumer and supports scheduled execution and configurable retries. It can handle small scraping jobs without embedding network work in a request handler.

A practical workflow

  1. Queue a function call with a URL and a stable collection key when a page needs refreshing.
  2. The consumer runs your HTTP fetcher and parser, checks the extracted record and stores the result outside the queue.
  3. Return a result reference, while a delayed or periodic task can request the next collection run.

When it fits

Use it for a Python application's background refresh jobs when the workflow is mostly independent units of work. Keeping a scrape task small makes failures easier to inspect than one task that traverses an entire site.

Boundaries

Choose and operate the appropriate Huey storage backend. The library does not supply browser rendering, URL discovery or per-site access policy. A retried function may repeat external side effects, so use stable write keys and explicit request limits. A scheduled refresh also needs a policy for stale or missing results.

Categories:
Features:
Job QueueSchedulingBatch ProcessingWorkflow AutomationConcurrency ControlOpen SourcePython SDK

Share:

bisibility

Growing a website? Track its keywords, Google rankings, Search Console insights, and share of voice with bisibility. Free during beta.

Try bisibility freeOur product

Repository

coleifer/huey

  • Stars

    6K
  • Forks

    403
  • Last commit

    2026-10-13
  • License

    MIT
  • Language

    Python

Metrics recorded 2026-10-16

Repository details

License source: Repository license file

View Repository

Sources

github.com

Verified against the coleifer/huey repository and the PyPI package.