celery

Package — Cloud/DevOpsPython 3.8+Advanced

Distributed task queue for async job processing

Quick Info

Documentation
Official Docs
Python Version
3.8+
Dependencies
billiard, click, click-didyoumean, click-plugins, click-repl, kombu, python-dateutil, tzdata, vine
Install
pip install celery[redis]

Learn by Difficulty

Quick Example

python
# Install: pip install celery[redis]
from celery import Celery

app = Celery("tasks", broker="redis://localhost:6379")

@app.task
def add(x, y):
    return x + y

# Usage:
# result = add.delay(4, 4)
# print(result.get())

celery is a third-party package. Distributed task queue for async job processing. Install with: pip install celery[redis]

Try in Playground

Tags

packagetask-queueasyncdistributedbackground-jobs

Related Items