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

Uploaded Source

Built Distribution

Flask_RQ2-18.2.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.2.tar.gz.

File metadata

  • Download URL: Flask-RQ2-18.2.2.tar.gz
  • Upload date:
  • Size: 29.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14

File hashes

Hashes for Flask-RQ2-18.2.2.tar.gz
Algorithm Hash digest
SHA256 dc558c6b5c62e54fbdf89848dca7cbf22480e03fb255ca8dc27cacdda15bc32a
MD5 4f83d2fa41aec1547204688ff796a590
BLAKE2b-256 2c3809eae1abd7d8346a4524a26c81f1eccbb41cc5f5005154e8b1f45853de7e

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: Flask_RQ2-18.2.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.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14

File hashes

Hashes for Flask_RQ2-18.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a6761e2cc14046411b7fa6b1c4f02b5490fa9bd295be7559c99f3f4a01ff2d08
MD5 dd4266c8ca4b99545edb5ff16516bb2d
BLAKE2b-256 e25dc979964f9a553d629c7a41d403de5bad499c659958cd7233c2913edba278

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