Skip to main content

A django app to monitor celery tasks with progress

Project description

Django Celery Progress

A django app to monitor celery tasks with progress

Demo

Demo

Quick start

Add "django_celery_progress" to your INSTALLED_APPS:

    INSTALLED_APPS = [
        'django_celery_progress',
    ]

Set CELERY_BROKER_URL and CELERY_RESULT_BACKEND

CELERY_BROKER_URL = 'redis://localhost:6379/0'
CELERY_RESULT_BACKEND = 'redis://localhost:6379/0'

Progress monitor:

import time

from celery import shared_task
from django_celery_progress.progress import set_progress

@shared_task(bind=True, name='my_task')
def my_task(self):
    for i in range(100):
        time.sleep(1)
        set_progress(self, i + 1, 100)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-celery-progress-1.0.5.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

django_celery_progress-1.0.5-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file django-celery-progress-1.0.5.tar.gz.

File metadata

File hashes

Hashes for django-celery-progress-1.0.5.tar.gz
Algorithm Hash digest
SHA256 c11b82d944c185ddb8a2b6f4fb37c6f4eb9c2c18c4f7930ebb3cb5ff6305645a
MD5 a52cc39a13948e5f4688c903c5cdd1a7
BLAKE2b-256 409756991318bb69f1d91b58768eabbe75be9e050e6895e8f6afb29c1ac5a8f1

See more details on using hashes here.

File details

Details for the file django_celery_progress-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for django_celery_progress-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 45feb9a8417b0a0f38478c9d83bfd1f305f61ddb7ac0f109d51d097b3b625e6f
MD5 53f8a6cbe3d19ff96e32b96fba90e6da
BLAKE2b-256 c93c8af092ef325fbba0f0f9d1f4548d8a1bec836b09a8cd1094d666504be3c4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page