Flask Celery 3.0+ Integration
Celery: http://celeryproject.org
Using Flask-Celery
You can easily add Celery to your flask application like this:
app.py:
from flask_celery import Celery
celery = Celery()
def create_app():
app = Flask(__name__)
celery.init_app(app)
return app
@celery.task
def add(x, y):
return x + y
To start the worker you can then launch the celery worker command by pointing to your celery app instance:
$ celery -A app:celery worker -l info
If your flask application has complex condition, you can refer to the example https://github.com/taogeT/flask-celery .
Metadata
Release files for Flask-Celery-py3 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| Flask-Celery-py3-0.2.4.tar.gz | 3.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Flask-Celery-py3-0.2.4.linux-x86_64.tar.gz | Details |
Total release size: 6.4 kB
Release files / Flask-Celery-py3-0.2.4.tar.gz
| Download URL | Flask-Celery-py3-0.2.4.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be9c0b1282799ae6f15bcf701f0c2df8f98dcadcacb1d83e18c9536341903e60
|
|
BLAKE2b-256 checksum How to use checksums |
e0cba36a848d11462ed456d9c2d80232d58ac5e1c57817c0dca4b8116cd6fbcc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / Flask-Celery-py3-0.2.4.linux-x86_64.tar.gz
| Download URL | Flask-Celery-py3-0.2.4.linux-x86_64.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a31b161d00b199087f61dd6280c233e97aa7916410dce303c23dcd9cf34ab56c
|
|
BLAKE2b-256 checksum How to use checksums |
8a23ba736c4c4768ab78ae70ba2a95efc31808b168b95c28ad1574e0da83004f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for Flask-Celery-py3 0.2.4
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.