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.2.tar.gz (28.4 kB view details)

Uploaded Source

Built Distribution

Flask_RQ2-18.2-py2.py3-none-any.whl (13.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: Flask-RQ2-18.2.tar.gz
  • Upload date:
  • Size: 28.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for Flask-RQ2-18.2.tar.gz
Algorithm Hash digest
SHA256 0788ae2226556399d1cea00c27af0ae1c71f3f4cda79ed34de592c14656e98a5
MD5 2c37687d73a895f1285e0762ec9691cb
BLAKE2b-256 3bacdeced2ed1de66471deb0e850904387e2a9d43c2b10717c65aed0c4df4632

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: Flask_RQ2-18.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for Flask_RQ2-18.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7820b4990e426f464bc905fe3d72d6675f8f45a41fe596be06126fcd04a33322
MD5 fd6f40f19e3f660367278712bb30cda6
BLAKE2b-256 185f1346e710452cb0b56e19ad6370b8e946dcc96e0176e65fe66a742dfa56f7

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