z4j-hueyperiodic
The Huey @periodic_task scheduler adapter for z4j.
Surfaces registered @periodic_task decorators from your Huey app on
the dashboard's Schedules page as read-only inventory.
Compatibility
- Huey 2.4+ and <4
- Python 3.11+
Full per-adapter matrix at https://z4j.dev/reference/compatibility/.
What it ships
| Capability | Notes |
|---|---|
| List schedules | registered periodic tasks that the adapter can map |
| Read | by registered name |
| Boot inventory | full snapshot at agent connect; existing schedules show up without editing |
This adapter is read-only (capabilities() returns {list, read}).
Huey's periodic tasks are decorator-defined in your source (the
@periodic_task argument is the schedule), so create / update / delete /
enable / disable / trigger-now are all out of scope, those need a source
edit and deploy round-trip. The dashboard greys out the buttons it can't
honor.
Install
pip install z4j-huey z4j-hueyperiodic
import os
from huey import RedisHuey, crontab
from z4j_bare import install_agent
from z4j_huey import HueyEngineAdapter
from z4j_hueyperiodic import HueyPeriodicAdapter
huey = RedisHuey("myapp", url="redis://localhost")
@huey.periodic_task(crontab(minute="*/5"))
def cleanup():
...
install_agent(
engines=[HueyEngineAdapter(huey=huey)],
schedulers=[HueyPeriodicAdapter(huey=huey)],
brain_url="https://brain.example.com",
token="z4j_agent_...",
project_id="my-project",
hmac_secret=os.environ["Z4J_HMAC_SECRET"],
)
Pairs with
z4j-huey, engine adapter
Reliability
- The adapter reads Huey's periodic-task registry during inventory snapshots; it installs no Huey hooks and does not alter decorator runtime behavior or schedule definitions.
Documentation
Full docs at z4j.dev/schedulers/huey-periodic/.
License
Apache-2.0, see LICENSE.
Links
- Homepage: https://z4j.com
- Documentation: https://z4j.dev
- PyPI: https://pypi.org/project/z4j-hueyperiodic/
- Issues: https://github.com/z4jdev/z4j-hueyperiodic/issues
- Changelog: CHANGELOG.md
- Security: security@z4j.com (see SECURITY.md)
Metadata
Release files for z4j-hueyperiodic 1.11.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| z4j_hueyperiodic-1.11.0.tar.gz | 11.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| z4j_hueyperiodic-1.11.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.1 kB
Release files / z4j_hueyperiodic-1.11.0.tar.gz
| Download URL | z4j_hueyperiodic-1.11.0.tar.gz |
|---|---|
| Size | 11.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
12f94eab45dfeb94f80b8ec25e69472f00d51a5aa7c658af3d27bde8ed06591b
|
|
BLAKE2b-256 checksum How to use checksums |
ae59eea6d2e3a33951a5bcbc1a5600323164f4b01888406755300967afd5dce7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / z4j_hueyperiodic-1.11.0-py3-none-any.whl
| Download URL | z4j_hueyperiodic-1.11.0-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec52274fb63eaee494b1a21e9dec891d201534e40aa1966b29afe12e3b85df0f
|
|
BLAKE2b-256 checksum How to use checksums |
9c97e782b98132751225cf606b2d019417c5bfc7fef8c6492dda9fa8105716ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|