Skip to main content

z4j-arq

PyPI version Python License

The arq engine adapter for z4j.

Streams supported arq job lifecycle events from your async workers to the z4j and accepts operator control actions from the dashboard. Pair with z4j-arqcron to surface arq cron jobs.

Compatibility

  • arq 0.26+ and <1 (capped below the eventual arq 1.0 breaking-major)
  • Python 3.11+

Full per-adapter matrix at https://z4j.dev/reference/compatibility/.

What it ships

Capability Notes
Job lifecycle events in-progress, complete, failed
Job discovery caller-supplied function-name list (arq has no auto-registry)
Submit / cancel direct against the arq Redis pool; cancel succeeds only when Job.abort confirms it
Reconcile task via arq's Redis-backed result store

Async-native, uses arq's existing on_job_start / on_job_end hooks.

Not yet supported (the brain greys these actions out): retry-by-id, bulk retry, and purge queue. arq exposes no job-enumeration, dead-letter, or re-enqueue-by-id primitive, so these are deferred rather than shipped.

Install

pip install z4j-arq z4j-arqcron

Pair with a framework adapter (FastAPI is the most common pairing for arq):

pip install z4j-fastapi z4j-arq z4j-arqcron
pip install z4j-bare    z4j-arq z4j-arqcron   # framework-free worker

Pairs with

Reliability

  • Lifecycle-capture failures are isolated from arq's worker loop and job code; capture hooks make no brain network request inline.
  • The in-process event queue and SQLite outbound buffer are bounded. Queue overflow drops new events and buffer pressure evicts oldest rows; both losses are logged.

Documentation

Full docs at z4j.dev/engines/arq/.

License

Apache-2.0, see LICENSE.

Links

Download files

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

Source Distribution

z4j_arq-1.9.1.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

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

z4j_arq-1.9.1-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file z4j_arq-1.9.1.tar.gz.

File metadata

  • Download URL: z4j_arq-1.9.1.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for z4j_arq-1.9.1.tar.gz
Algorithm Hash digest
SHA256 594fd55b01c7009739231cd55a83ce43b2e3b0d8baac89eb7855d9688fa8f25a
MD5 421ffdec7b4f12425d2021ceeb39684b
BLAKE2b-256 ff45d00b025b90af74179203fb652b37a3ea4005e89d8d51b77eac5636b65292

See more details on using hashes here.

File details

Details for the file z4j_arq-1.9.1-py3-none-any.whl.

File metadata

  • Download URL: z4j_arq-1.9.1-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for z4j_arq-1.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0c0d0ac16e1ddeb04090ade44d8708be91051342eafbce4fb334c59755465582
MD5 1ea2cf5e46ca172a27429accd45c5ef9
BLAKE2b-256 4f637fb9dbf440aff915e8601749e92107e892011957ddf6c3da318646f19835

See more details on using hashes here.

Release history Release notifications | RSS feed

1.10.0

2 files

This release

1.9.1 This release

2 files

1.9.0

2 files

1.8.0

2 files

1.7.0

2 files

1.6.7

2 files

1.6.0

2 files

1.5.0

2 files

1.4.0

2 files

1.3.0

2 files

1.1.2

2 files

1.0.1

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page