This release is a pre-release and may not be stable for production use.
Django-Celery-GrowthMonitor
A Django helper to monitor jobs running Celery tasks
Features
Utilities to track progress of Celery tasks via in-database jobs
Requirements
Python >= 3.4
Django >= 1.8
Celery >= 4.0.2
echoices >= 2.5.0
autoslugged >= 2.0.0
Installation
Using PyPI
Run pip install django-celery-growthmonitor
Using the source code
Make sure `pandoc <http://pandoc.org/index.html>`__ is installed
Run ./pypi_packager.sh
Run pip install dist/django_celery_growthmonitor-x.y.z-[...].wheel, where x.y.z must be replaced by the actual version number and [...] depends on your packaging configuration
Usage
('state', echoices.fields.make_echoicefield(default=celery_growthmonitor.models.AJob.EStates.CREATED, echoices=celery_growthmonitor.models.AJob.EStates, editable=False)),
('status', echoices.fields.make_echoicefield(default=celery_growthmonitor.models.AJob.EStatuses.ACTIVE, echoices=celery_growthmonitor.models.AJob.EStatuses, editable=False)),
from .celery import app
@app.task
def my_task(holder: JobHolder, *args):
job = holder.get_job()
# Some processing
return holder.pre_serialization()
Helpers
Admin
from django.contrib import admin
from celery_growthmonitor.admin import AJobAdmin
@admin.register(MyJob)
class MyJobAdmin(AJobAdmin):
fields = AJobAdmin.fields + ('my_extra_field',)
readonly_fields = AJobAdmin.readonly_fields + ('my_extra_field',)
Metadata
Release files for django-celery-growthmonitor 0.0.0.dev45
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-celery-growthmonitor-0.0.0.dev45.tar.gz | 24.3 kB | Without provenance | Details for django-celery-growthmonitor-0.0.0.dev45.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_celery_growthmonitor-0.0.0.dev45-py3-none-any.whl | Python 3 | none | any | Details for django_celery_growthmonitor-0.0.0.dev45-py3-none-any.whl |
Total release size: 38.8 kB
Release files / django-celery-growthmonitor-0.0.0.dev45.tar.gz
| Download URL | django-celery-growthmonitor-0.0.0.dev45.tar.gz |
|---|---|
| Size | 24.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c04e2e1c5d1db91b3304b0cfa274b5885c2bebeb7a9d79cb2c06a6f85f3c08cb
|
|
BLAKE2b-256 checksum How to use checksums |
b2a6da56f968b6daa16e2a7b156944732fe2560baa38fe0f736e5ccfc5c3e3c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django_celery_growthmonitor-0.0.0.dev45-py3-none-any.whl
| Download URL | django_celery_growthmonitor-0.0.0.dev45-py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b299a96d5521b4301eb7da0721b37053dbe7292061311b0f1373325ebf97d4be
|
|
BLAKE2b-256 checksum How to use checksums |
487db3c58d4194c6171e50cf4cebc15644d25d20226ad7d22bfa27655c21e81e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-celery-growthmonitor 0.0.0.dev45
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.