z4j Huey queue engine adapter (Apache 2.0)
Project description
z4j-huey
z4j queue-engine adapter for Huey.
from huey import RedisHuey
from z4j_huey import HueyEngineAdapter
huey = RedisHuey("myapp", host="redis", port=6379)
@huey.task()
def add(x, y):
return x + y
# In your z4j-bare bootstrap:
from z4j_bare import install_agent
install_agent(engines=[HueyEngineAdapter(huey=huey)])
Capabilities
- ✅ Task discovery (every
@huey.taskand@huey.periodic_task) - ✅ Per-task
retry_task/cancel_task - ✅ Result-backend reconciliation (
reconcile_task) - closes the "stuck started forever" gap by consulting Huey's result store. - ✅ Queue/worker introspection
- ❌
bulk_retry,purge_queue- Huey's storage layer doesn't expose the bulk primitives needed; deferred to v1.1. - ❌
restart_worker,rate_limit- Huey's consumer model has no remote-control channel.
Periodic tasks
Huey's @periodic_task(crontab(...)) decorators are first-class.
Pair this adapter with z4j-hueyperiodic to surface them on the
Schedules page.
Apache 2.0.
License
Apache 2.0 - see LICENSE. This package is deliberately permissively licensed so that proprietary Django / Flask / FastAPI applications can import it without any license concerns.
Links
- Homepage: https://z4j.com
- Documentation: https://z4j.dev
- Source: https://github.com/z4jdev/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.0.1.tar.gz.
File metadata
- Download URL: z4j_huey-1.0.1.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c1909321f1e88c37411d0136448e9f7b598cdbe6187d5d3f3bd813f2e67b4bd
|
|
| MD5 |
f6e27676a5eec91e08407d59f37454c9
|
|
| BLAKE2b-256 |
8aac60744e6957c137a3df3faff13ef11b179c9945f5d4722a36817a5e9d1726
|
File details
Details for the file z4j_huey-1.0.1-py3-none-any.whl.
File metadata
- Download URL: z4j_huey-1.0.1-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28c01da6019c9911646216ad0cbac44a5fd04df1400bf3952aaf77e9afbc40c5
|
|
| MD5 |
b7364368c6e84bb2523298d21b78ce8a
|
|
| BLAKE2b-256 |
d80ff33b2bbcdf0f41d970c30033117107c8d936dc8107694e93728fad51e081
|