z4j-arq
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
z4j-arqcron, schedule adapter for arq cron jobs
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
- Homepage: https://z4j.com
- Documentation: https://z4j.dev
- PyPI: https://pypi.org/project/z4j-arq/
- Issues: https://github.com/z4jdev/z4j-arq/issues
- Changelog: CHANGELOG.md
- Security: security@z4j.com (see SECURITY.md)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6bc80e4fbdd03c870f5407e93adbca11840a510a51848911bf2d6dce0be84b5
|
|
| MD5 |
9df0b69b7c9f08ae792e4c039cabac74
|
|
| BLAKE2b-256 |
4ebcf067506808aa71326a08c63bf205450d7d601a8ef5257fb0bc57ce61a8ce
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce2519c6833fd99239248cc6ae9138eb38ccea3cc9b6dc8ec15ff492c0402013
|
|
| MD5 |
53d61e229d77f4fcca9b28af1d2de8c9
|
|
| BLAKE2b-256 |
2153be216425078f8b6e86e158333b425e377b4e184ad378efa4bffea23214a6
|