Skip to main content

z4j scheduler adapter for taskiq schedule sources (Apache 2.0)

Project description

z4j-taskiqscheduler

PyPI version Python License

The taskiq-scheduler adapter for z4j.

Surfaces taskiq-scheduler periodic jobs on the dashboard's Schedules page, read, enable, disable, trigger.

What it ships

Capability Notes
List schedules every job registered with the taskiq-scheduler source
Read by registered name
Enable / disable via consumer-side gating
Trigger now enqueues the task immediately, outside the schedule
Boot inventory full snapshot at agent connect; existing schedules show up without editing

taskiq-scheduler schedules are typically defined declaratively (label source, JSON file, or label decorators), so create / update / delete are intentionally out of scope, those need a deploy round-trip.

Install

pip install z4j-taskiq z4j-taskiqscheduler
from taskiq import TaskiqScheduler
from taskiq.schedule_sources import LabelScheduleSource
from z4j_bare import install_agent
from z4j_taskiq import TaskiqEngineAdapter
from z4j_taskiqscheduler import TaskiqSchedulerAdapter

scheduler = TaskiqScheduler(
    broker=broker,
    sources=[LabelScheduleSource(broker)],
)

install_agent(
    engines=[TaskiqEngineAdapter(broker=broker)],
    schedulers=[TaskiqSchedulerAdapter(scheduler=scheduler)],
    brain_url="https://brain.example.com",
    token="z4j_agent_...",
    project_id="my-project",
)

Pairs with

Reliability

  • No exception from the adapter ever propagates back into taskiq-scheduler or your task code.
  • Schedule sources are read-only at runtime; the adapter only observes, it does not rewrite the underlying source.

Documentation

Full docs at z4j.dev/schedulers/taskiq-scheduler/.

License

Apache-2.0, see LICENSE.

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

z4j_taskiqscheduler-1.5.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

z4j_taskiqscheduler-1.5.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file z4j_taskiqscheduler-1.5.0.tar.gz.

File metadata

  • Download URL: z4j_taskiqscheduler-1.5.0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for z4j_taskiqscheduler-1.5.0.tar.gz
Algorithm Hash digest
SHA256 0e68d540e1a0aeb6acd038d7d46066b351632da6c2598e9182414f89d5d12eaf
MD5 0efd3faba4053dbd3c15d2233a1786ed
BLAKE2b-256 44a0859f7f5a0f86d13d0499fcd1bf6d138eddf756fec72ab4a945e04ab58a10

See more details on using hashes here.

File details

Details for the file z4j_taskiqscheduler-1.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for z4j_taskiqscheduler-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 910554a7af1615f8338e819fb2caf30f24e5c3b117ee40a76121871f29489ad2
MD5 72203b9266aa2e14bf1257122e965c96
BLAKE2b-256 bce4b4b6f35e346267eff4961df5e59275d54d7c27c741fe65c2e094796667b9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page