Skip to main content

A Flask extension for RQ.

Project description

Documentation Status Test Status Test Coverage Status CalVer - Timely Software Versioning

Resources

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.

Installation

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 yourapplication.jobs import rq
    rq.init_app(app)

    # more here..
    return app

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

Download files

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

Source Distribution

Flask-RQ2-18.0.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

Flask_RQ2-18.0-py2.py3-none-any.whl (13.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file Flask-RQ2-18.0.tar.gz.

File metadata

  • Download URL: Flask-RQ2-18.0.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Flask-RQ2-18.0.tar.gz
Algorithm Hash digest
SHA256 95bd41d7a3011dbc8b034645be97e1ac509ee602ddc9d6f0101649d64b4614ba
MD5 cecdbb8f204a527dae47ffc798efcf22
BLAKE2b-256 ea42fcf1f95111a3334a45c97c769f942b42eca9c9824909675fdb9c4ea2cc54

See more details on using hashes here.

Provenance

File details

Details for the file Flask_RQ2-18.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for Flask_RQ2-18.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 55459d719229c0cb04a80d9c5d8507bcbc16138318db353af3360a0c0ea19a9c
MD5 7ff58f29aa37b00ff9fb8f3378b31e12
BLAKE2b-256 3eea99322107146bb0af3f701440d9e1593cd21935cb644d80aca799e44c304b

See more details on using hashes here.

Provenance

Supported by

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