skip to navigation
skip to content

Flask-RQ2 18.0

A Flask extension for RQ.


A Flask extension for RQ (Redis Queue).

This is a continuation of Flask-RQ more in spirit than in code. Many thanks to Matt Wright for the inspiration and providing the shoulders to stand on.


pip install Flask-RQ2

Getting started

To quickly start using Flask-RQ2, simply create an RQ instance:

from flask import Flask
from flask_rq2 import RQ

app = Flask(__name__)
rq = RQ(app)

Alternatively, if you’re using the application factory pattern:

from flask_rq2 import RQ
rq = RQ()

and then later call init_app where you create your application object:

from flask import Flask

def create_app():
    app = Flask(__name__)

    from import rq

    # more here..
    return app

For more information see the full documentation on Read The Docs.

File Type Py Version Uploaded on Size
Flask-RQ2-18.0.tar.gz (md5) Source 2018-03-02 26KB
Flask_RQ2-18.0-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2018-03-02 13KB