Celery 3.0+ integration for Flask (Python 3 version)
Project description
Celery: http://celeryproject.org
Using Flask-Celery
You can easily add Celery to your flask application like this:
app.py:
from flask.ext.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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Flask-Celery-py3-0.2.1.tar.gz
(3.0 kB
view hashes)
Built Distributions
Flask-Celery-py3-0.2.1-1.src.rpm
(11.0 kB
view hashes)
Close
Hashes for Flask-Celery-py3-0.2.1.linux-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8733616ef13636a1bea9e57b4c584d9f6cc4d2fb26b697a4d91e986ba1c4511 |
|
MD5 | 61040a6512e724f9f2d9195f06df234a |
|
BLAKE2b-256 | d69d2fc8de301b3084bbd15931cd7de381ff09ad065048bbc5af2d4b982bf331 |
Close
Hashes for Flask-Celery-py3-0.2.1-1.src.rpm
Algorithm | Hash digest | |
---|---|---|
SHA256 | f75d15783228f46078900ea66565b15e4391d0acbd49a4aefd62a22ba131a537 |
|
MD5 | 81b77451313f9d36d53f8033591c516d |
|
BLAKE2b-256 | 2bc8e51fe1a3d6e53ee1216ae5355a2797c54a197b4448e8cafcc65905cc6cb4 |
Close
Hashes for Flask-Celery-py3-0.2.1-1.noarch.rpm
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdc4a36269a8a66233afb647e3ca3cf78e2620d047230c7991c8b46d59a428e0 |
|
MD5 | d06d4245ef8fdc851f40b9c49294b577 |
|
BLAKE2b-256 | a9449f837788689e8f40d4c42daea850cfe078da9e0e1165df87a4abcac4211a |