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.
Release files for Flask-RQ2 18.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Flask-RQ2-18.3.tar.gz | 29.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Flask_RQ2-18.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size:42.1 kB
Release files / Flask-RQ2-18.3.tar.gz
| Download URL | Flask-RQ2-18.3.tar.gz |
|---|---|
| Size | 29.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3ef6395065255447f8e1516ccca24858ba87da1d71a6975e0e3b55256bf04967
|
|
BLAKE2b-256 checksum How to use checksums |
3a73edea2742650daa2b1589e8cb592abe7da5d8ce530642e62f047b205580b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / Flask_RQ2-18.3-py2.py3-none-any.whl
| Download URL | Flask_RQ2-18.3-py2.py3-none-any.whl |
|---|---|
| Size | 13.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
abe1e52d3b98abe37e85830a614ba6af864516f1b6cf2229f352f8500eafc5fd
|
|
BLAKE2b-256 checksum How to use checksums |
6147341667d55567995f6a54096e4156edaaad645dd7c90133e646ed9ba56968
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|