Skip to main content

flask simple sync work

example

from flask_kraken_wq import  Queue,WorkTask

app = Flask(__name__)

from module import funname
from redis import Redis
@app.route('/')
def hello_world():
    Queue(Redis()).add(funname)
    return 'Hello World!'
### thread start work mode
WorkTask(connect=Redis(),flask_app=app).thread() 

### working start mode

WorkTask(connect=Redis(),flask_app=app).start() 

Metadata

Release files for flask-kraken-wq 2021.8.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flask-kraken-wq 2021.8.16
File Size Uploaded Provenance Actions
flask_kraken_wq-2021.8.16.tar.gz 2.7 kB Without provenance Details for flask_kraken_wq-2021.8.16.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flask-kraken-wq 2021.8.16
File Interpreter ABI Platform Actions
flask_kraken_wq-2021.8.16-py3-none-any.whl Python 3 none any Details for flask_kraken_wq-2021.8.16-py3-none-any.whl

Total release size: 6.4 kB

Release files / flask_kraken_wq-2021.8.16.tar.gz

Download URL flask_kraken_wq-2021.8.16.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4139ca966c11f47a1032b94dc5ecb6936fd28421e31d37cb5e1917fad912a58d
BLAKE2b-256 checksum
How to use checksums
864594b13d885216391fcf5beb96b9c3316eade37519e7a48df236e9c268c32c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.4

Release files / flask_kraken_wq-2021.8.16-py3-none-any.whl

Download URL flask_kraken_wq-2021.8.16-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1c6096f9ce92cef647ec6c522dea00559fc12c95dea2f72f9494d1c3c95e243
BLAKE2b-256 checksum
How to use checksums
4093c1d977c491e4304e8ef1cd181010d5d5f781fec52b4b2689304b78fc22cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.4

Security for flask-kraken-wq 2021.8.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page