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)
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_hueyperiodic-1.9.0.tar.gz.
File metadata
- Download URL: z4j_hueyperiodic-1.9.0.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c874de8cd39912db822f51ee444c1356f59047078fcfc2612591fffeb6d366b
|
|
| MD5 |
f98ff9536b34b3458a9566127a797c27
|
|
| BLAKE2b-256 |
f5732c66a3217f183cffb013c282ccc69895e8f023e2ff69741ced46bade3e9e
|
File details
Details for the file z4j_hueyperiodic-1.9.0-py3-none-any.whl.
File metadata
- Download URL: z4j_hueyperiodic-1.9.0-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ad0aea7aab6777b6ce2475260cc61119df7f6ecaa526a2f654e57fa6eb4e46d
|
|
| MD5 |
c574f0b94762dc4b44cbde956a3c4f54
|
|
| BLAKE2b-256 |
2b219c5dff6bc80a141eccc92d32114775e91b47c3a79a06b2cbf2b2bc5696a5
|