celery — Distributed processing — Python documentation

From Get docs
Celery/docs/latest/reference/celery

celery — Distributed processing


This module is the main entry-point for the Celery API. It includes commonly needed things for calling tasks, and creating Celery applications.

Celery Celery application instance
group group tasks together
chain chain tasks together
chord chords enable callbacks for groups
signature() create a new task signature
Signature object describing a task invocation
current_app proxy to the current application instance
current_task proxy to the currently executing task

Celery application objects

New in version 2.5.


Canvas primitives

See Canvas: Designing Work-flows for more about creating task work-flows.


Proxies

celery.current_app
The currently set app for this thread.
celery.current_task
The task currently being executed (only set in the worker, or when eager/apply is used).