z4j-rq
The RQ engine adapter for z4j.
Streams supported RQ job lifecycle events from your workers to z4j and accepts operator control actions from the dashboard. Pair with z4j-rqscheduler to manage periodic schedules.
Compatibility
- RQ 1.10.1+ and <3 (capped below the RQ 3.0 breaking-major rewrite)
- Python 3.11+
Full per-adapter matrix at https://z4j.dev/reference/compatibility/.
What it ships
| Capability | Notes |
|---|---|
| Job lifecycle events | started, succeeded, failed, revoked (canceled) |
| Job discovery | runtime registry of queue names + worker introspection |
| Submit / retry / cancel | direct against the RQ queue |
| Bulk retry | retries brain-resolved, project-owned explicit IDs by reference; never sweeps the broker-wide failed registry |
| Purge queue | with confirm-token guard |
| Reconcile task | via Redis-backed job hash lookup |
Install
pip install z4j-rq z4j-rqscheduler
Pair with a framework adapter:
pip install z4j-django z4j-rq z4j-rqscheduler # Django
pip install z4j-flask z4j-rq z4j-rqscheduler # Flask
pip install z4j-fastapi z4j-rq z4j-rqscheduler # FastAPI
pip install z4j-bare z4j-rq z4j-rqscheduler # framework-free worker
Pairs with
z4j-rqscheduler, schedule adapter for rq-scheduler
Reliability
- Lifecycle-capture failures are isolated from RQ workers and job hooks; 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/rq/.
License
Apache-2.0, see LICENSE.
Links
- Homepage: https://z4j.com
- Documentation: https://z4j.dev
- PyPI: https://pypi.org/project/z4j-rq/
- Issues: https://github.com/z4jdev/z4j-rq/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_rq-1.9.0.tar.gz.
File metadata
- Download URL: z4j_rq-1.9.0.tar.gz
- Upload date:
- Size: 59.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 |
ef3a2aee84732953e2e58c23c8c8dc8d92c3839176a1b3721a442635765acdb5
|
|
| MD5 |
f0b6ab6e27f17e16f5bd8082752dce57
|
|
| BLAKE2b-256 |
46a58191ab3684c3a683a30892f0ed06e76753077b91460df78698315bd53b18
|
File details
Details for the file z4j_rq-1.9.0-py3-none-any.whl.
File metadata
- Download URL: z4j_rq-1.9.0-py3-none-any.whl
- Upload date:
- Size: 53.6 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 |
ae6a077c8e9eff80281eaef1fd16e939d5912b626f1f0466421948e8df962439
|
|
| MD5 |
b1999e547291f3109af11a7b6c8eb7c6
|
|
| BLAKE2b-256 |
ff03f5b23c5e682ebde81e50785f63c8cb08632e91953139829a8aa3a7451f37
|