z4j Huey queue engine adapter (Apache 2.0)
Project description
z4j-huey
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
z4j-hueyperiodic, schedule adapter for Huey@periodic_task
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
- Homepage: https://z4j.com
- Documentation: https://z4j.dev
- PyPI: https://pypi.org/project/z4j-huey/
- Issues: https://github.com/z4jdev/z4j-huey/issues
- Changelog: CHANGELOG.md
- Security: security@z4j.com (see SECURITY.md)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7a2e0f41b7d0176fc882a196f0aeb6a64ed62023255252d87640317bba136f2
|
|
| MD5 |
3d3c8b630833c116f91acc3950120777
|
|
| BLAKE2b-256 |
a7fa5833bce2a686705aa142ea16fef33aec190239a8deb915f0537ebdfb8df7
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9022a9ebea64a2ddc067f464504379057f1c27e4af0aeb2f95ee3de078a29f60
|
|
| MD5 |
01c6e0b42323d716d1bf60d60db33830
|
|
| BLAKE2b-256 |
e71d06e419eb36f240c5fe9227ff207bd56439d74806ca7d1666f01768c25e0b
|