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.0.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.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: z4j_arq-1.9.0.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.0.tar.gz
Algorithm Hash digest
SHA256 d6bc80e4fbdd03c870f5407e93adbca11840a510a51848911bf2d6dce0be84b5
MD5 9df0b69b7c9f08ae792e4c039cabac74
BLAKE2b-256 4ebcf067506808aa71326a08c63bf205450d7d601a8ef5257fb0bc57ce61a8ce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: z4j_arq-1.9.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce2519c6833fd99239248cc6ae9138eb38ccea3cc9b6dc8ec15ff492c0402013
MD5 53d61e229d77f4fcca9b28af1d2de8c9
BLAKE2b-256 2153be216425078f8b6e86e158333b425e377b4e184ad378efa4bffea23214a6

See more details on using hashes here.

Release history Release notifications | RSS feed

1.10.0

2 files

1.9.1

2 files

This release

1.9.0 This release

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