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.3.0.tar.gz (46.0 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.3.0-py3-none-any.whl (40.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for z4j_rq-1.3.0.tar.gz
Algorithm Hash digest
SHA256 2d516c4dff916dc955923984a4e18ff9379985dc54931f1ff8ef78afe2b283f5
MD5 7ac871183e1fc4caafa9656228df35c9
BLAKE2b-256 171297f5d3f5616c1e19184ba22453a8ef2b4a6b776b7bd70f967d30d08f7163

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for z4j_rq-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 08d09954ef6f4b41cba01fbb0d9ecc879d9adbb5720a91ad6d3bd4e4fd806678
MD5 830500964aa21bc3faa1e5df686a56de
BLAKE2b-256 6868ae4abb75eb5b3a7c0020c566cc432975f65fdab17d28e6e6c98dd1c53ddb

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