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.6.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.6.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: z4j_taskiqscheduler-1.6.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.6.0.tar.gz
Algorithm Hash digest
SHA256 ed56868f5ae624470925ba9a026668a69ae149848226ba5cc05291bdea73cc08
MD5 b8d4bcad6861919cf7ad2ff99aa21f49
BLAKE2b-256 83e77ab4da80351e770e7e0811845f66761047396449682d8d25f7ddfc47da9f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for z4j_taskiqscheduler-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 47093252923d6df20ebd8aaaa9f7a23a90c4972cc219eec06191332539dedca7
MD5 b57f8a137ef5daf7dd9994386dc8273b
BLAKE2b-256 9435f88791e096dd1ecb75645d67d4931e7962609d84f0c801d4904a6c855c7a

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