Skip to main content

z4j RQ queue engine adapter (Apache 2.0)

Project description

z4j-rq

PyPI version Python License

License: Apache 2.0 Status: v1.0.0 - first public release alongside z4j-celery and z4j-dramatiq.

The RQ (Redis Queue) queue-engine adapter for z4j. Drop into any RQ install (bare-Python, Django+django-rq, FastAPI, anything) and z4j observes every job your workers run - without modifying your task code.

Install

# As part of the z4j stack:
pip install z4j[rq]

# Or just this package:
pip install z4j-rq

What it ships on day 1

Capability Status Notes
Event capture (received / started / succeeded / failed) Worker-wrap (every job) + per-job callbacks (opt-in)
Discovery Walks queues + StartedJobRegistry + FinishedJobRegistry
retry Re-enqueues by id; refuses if job is currently running
cancel ⚠️ Queued jobs removed; running jobs get a stop-command (RQ ≥1.13)
purge_queue With confirm-token + Z4J_PURGE_THRESHOLD guard

What it deliberately does NOT ship

Capability Why
bulk_retry Deferred to v1.1
requeue_dead_letter Deferred to v1.1 (RQ has FailedJobRegistry)
restart_worker RQ workers expose no remote-control channel - never
rate_limit RQ has no per-task rate-limit primitive - never
pool grow / shrink / consumer ops RQ has no pool concept - never

The adapter advertises only what it implements via capabilities() - the dashboard hides every button it can't honor, so users never click an action that would silently fail.

Scheduler pairing

Use z4j-rqscheduler for rq-scheduler periodic jobs on the Schedules page.

Documentation

License

Apache 2.0 - see LICENSE.

Links

Project details


Download files

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

Source Distribution

z4j_rq-1.0.1.tar.gz (42.2 kB view details)

Uploaded Source

Built Distribution

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

z4j_rq-1.0.1-py3-none-any.whl (39.4 kB view details)

Uploaded Python 3

File details

Details for the file z4j_rq-1.0.1.tar.gz.

File metadata

  • Download URL: z4j_rq-1.0.1.tar.gz
  • Upload date:
  • Size: 42.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.8

File hashes

Hashes for z4j_rq-1.0.1.tar.gz
Algorithm Hash digest
SHA256 dc8ece4049bd2e65335eb27662020831f05a1a4a274694f8e39e7711ae148d15
MD5 b0a61715d90acbaea5480aa12e25ab91
BLAKE2b-256 72953ee3fc43a84f855c82d3dd2f186bdf60519c3a368c0a82b3b6cff8371105

See more details on using hashes here.

File details

Details for the file z4j_rq-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: z4j_rq-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 39.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.8

File hashes

Hashes for z4j_rq-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e574d8cd790450fe5f3b487c5fdc0f1b85cb7099a54ee822312ee373f8c10b7e
MD5 c40a1bc56389db7c669e0917c0db5628
BLAKE2b-256 04035065d380093a4ac31cca0c0a938e1e2fa691a1f8ff27f1b6320c4adc0c23

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page