Flask-RQ

Flask-RQ is a Flask/Quart extension that background job execution using RQ. RQ allows queueing functions to be run in separate worker processes, allowing long-running jobs to run in the background without blocking the web app from returning a response quickly. Flask-RQ allows configuring RQ using Flask’s config, and handles executing jobs in the application context, so other services like database connections are available.

Install

Install from PyPI:

$ pip install flask-rq

Source

The project is hosted on GitHub: https://github.com/pallets-eco/flask-rq.