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://docs.z4j.com/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 docs.z4j.com/schedulers/huey-periodic/.
License
Apache-2.0, see LICENSE.
Links
- Homepage: https://z4j.com
- Documentation: https://docs.z4j.com
- 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.12.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.12.0.tar.gz | 11.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| z4j_hueyperiodic-1.12.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.1 kB
Release files / z4j_hueyperiodic-1.12.0.tar.gz
| Download URL | z4j_hueyperiodic-1.12.0.tar.gz |
|---|---|
| Size | 11.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f693b15c7387b12aaa464054939f35e39b2b0bb3ba7d8dd240d951021f3eaea7
|
|
BLAKE2b-256 checksum How to use checksums |
c48c80266cad8ea8b3687b5f7b3577d307651639cc31b9c21f42d1b7d884c04c
|
| 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.12.0-py3-none-any.whl
| Download URL | z4j_hueyperiodic-1.12.0-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b95b7035e559e95487b12176d11fbffa4873dd1c55824f3585bf39f37333bb9
|
|
BLAKE2b-256 checksum How to use checksums |
128b9faa6c6488aeac557792763799bba2001c52d2b261ba99b257a8a3c59b2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|