Flask
z4j-flask · Upstream project
Flask extension pattern. One line to install.
Standard Flask extension shape (Z4J(app)). Discovers Celery or Dramatiq tasks from your extensions/ layout. Reads config from app.config. No monkey-patching, no magic.
Install
pip install z4j-flask[celery] Wire it in
from flask import Flask
from z4j_flask import Z4J
app = Flask(__name__)
app.config.from_prefixed_env("Z4J_")
z4j = Z4J(app) What you get
Flask-specific features
Flask extension pattern
Works with Flask-Celery / Flask-Dramatiq
config.from_prefixed_env support
Blueprint-friendly
Gunicorn-safe initialization
Engine pairings
Flask works with every z4j engine
The framework adapter handles lifecycle and config. Any engine adapter slots in alongside.
Celery
The industry standard, covered end-to-end.
Learn more
RQ
Lightweight Redis queue, fully instrumented.
Learn more
Dramatiq
Middleware-driven Dramatiq observability.
Learn more
Huey
Lightweight Redis/SQLite queue, first-class.
Learn more
arq
Async Redis queue for FastAPI-era Python.
Learn more
taskiq
Broker-agnostic async task framework.
Learn more Other platforms