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://docs.z4j.com/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 docs.z4j.com/engines/arq/.

License

Apache-2.0, see LICENSE.

Metadata

Release files for z4j-arq 1.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for z4j-arq 1.12.0
File Size Uploaded
z4j_arq-1.12.0.tar.gz 21.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for z4j-arq 1.12.0
File Interpreter ABI Platform
z4j_arq-1.12.0-py3-none-any.whl Python 3 none any Details

Total release size: 38.4 kB

Release files / z4j_arq-1.12.0.tar.gz

Download URL z4j_arq-1.12.0.tar.gz
Size 21.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f1e45c4d247fb8a020e18bbb0b9ce8061b873b8c4cdb571a0193641c585e6be8
BLAKE2b-256 checksum
How to use checksums
264f9c3f544e0e6ddea6027382b5a9b4c4a0c605c4f1708fa0e3d219a8bbb0bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / z4j_arq-1.12.0-py3-none-any.whl

Download URL z4j_arq-1.12.0-py3-none-any.whl
Size 16.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77412172359deccb620bba95a261cda2946fc51254e19d7051cc4ac6c57773d9
BLAKE2b-256 checksum
How to use checksums
4a9f1818f004816cbb72e1641bb854669b459bb16a8757543888b54f42f14150
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

1.12.0 This release

2 release files

1.11.0

2 release files

1.10.0

2 release files

1.9.1

2 release files

1.9.0

2 release files

1.8.0

2 release files

1.7.0

2 release files

1.6.7

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.1.2

2 release files

1.0.1

2 release files

1.0.0

2 release 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