Skip to main content

A django app to monitor celery tasks with progress in admin

Project description

Django Celery Monitor

A django app to monitor celery tasks with progress

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:

@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)

Screenshot

Screenshot

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.0.tar.gz (6.9 kB view hashes)

Uploaded Source

Built Distribution

django_celery_progress-1.0.0-py3-none-any.whl (9.9 kB view hashes)

Uploaded Python 3

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