Skip to main content

z4j Huey queue engine adapter (Apache 2.0)

Project description

z4j-huey

PyPI version Python License

The Huey engine adapter for z4j.

Streams every Huey task lifecycle event from your consumers to the z4j brain and accepts operator control actions from the dashboard. Pair with z4j-hueyperiodic to surface @periodic_task schedules.

What it ships

Capability Notes
Task lifecycle events enqueued, started, succeeded, failed, retried, revoked
Task discovery Huey's in-process task registry
Submit / retry / cancel direct against the Huey instance
Reconcile task probes Huey's result store; absence reports honest unknown

Not supported (Huey's storage model can't back them faithfully, so the adapter declines the capability instead of faking it): bulk retry, queue purge, dead-letter requeue, worker restart, rate limiting.

Compatibility

  • Huey 2.4+ and <3 (capped below the Huey 3.0 breaking-major)
  • Storage backends: redis, sqlite, in-memory
  • Python 3.11+

Full per-adapter matrix at https://z4j.dev/reference/compatibility/.

Install

pip install z4j-huey z4j-hueyperiodic

Pair with a framework adapter:

pip install z4j-django  z4j-huey z4j-hueyperiodic   # Django
pip install z4j-flask   z4j-huey z4j-hueyperiodic   # Flask
pip install z4j-fastapi z4j-huey z4j-hueyperiodic   # FastAPI
pip install z4j-bare    z4j-huey z4j-hueyperiodic   # framework-free worker

Pairs with

Reliability

  • No exception from the adapter ever propagates back into Huey hooks or your task code.
  • Events buffer locally when z4j is unreachable; consumers never block on network I/O.

Documentation

Full docs at z4j.dev/engines/huey/.

License

Apache-2.0, see LICENSE.

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

z4j_huey-1.7.0.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

z4j_huey-1.7.0-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file z4j_huey-1.7.0.tar.gz.

File metadata

  • Download URL: z4j_huey-1.7.0.tar.gz
  • Upload date:
  • Size: 23.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for z4j_huey-1.7.0.tar.gz
Algorithm Hash digest
SHA256 e7a2e0f41b7d0176fc882a196f0aeb6a64ed62023255252d87640317bba136f2
MD5 3d3c8b630833c116f91acc3950120777
BLAKE2b-256 a7fa5833bce2a686705aa142ea16fef33aec190239a8deb915f0537ebdfb8df7

See more details on using hashes here.

File details

Details for the file z4j_huey-1.7.0-py3-none-any.whl.

File metadata

  • Download URL: z4j_huey-1.7.0-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for z4j_huey-1.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9022a9ebea64a2ddc067f464504379057f1c27e4af0aeb2f95ee3de078a29f60
MD5 01c6e0b42323d716d1bf60d60db33830
BLAKE2b-256 e71d06e419eb36f240c5fe9227ff207bd56439d74806ca7d1666f01768c25e0b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page