Skip to main content

Celery task revokes are stored on memory or on file. This packages makes possible to easely customize how your revokes are stored (Ex.: Database).

Project description

https://badge.fury.io/py/celery-persistent-revokes.svg https://travis-ci.org/vintasoftware/celery-persistent-revokes.svg?branch=master https://codecov.io/gh/vintasoftware/celery-persistent-revokes/branch/master/graph/badge.svg

Celery task revokes are stored on memory or on file. This packages makes possible to easily customize how your revokes are stored (Ex.: Database).

Documentation

The full documentation is at https://celery-persistent-revokes.readthedocs.io.

Quickstart

Install Celery Persistent Revokes:

pip install celery-persistent-revokes

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'celery_persistent_revokes.apps.CeleryPersistentRevokesConfig',
    ...
)

Add Celery Persistent Revokes’s URL patterns:

from celery_persistent_revokes import urls as celery_persistent_revokes_urls


urlpatterns = [
    ...
    url(r'^', include(celery_persistent_revokes_urls)),
    ...
]

Features

  • Built-in tasks revokes using Django default database

  • Support for custom backends

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Credits

Tools used in rendering this package:

Change Log

1.0.1 (2018-04-03)

  • Adds warning in logs when a revoked tasks is run by a worker

1.0.0 (2018-04-03)

  • Updates Django revokes model to be timestamped

0.1.0 (2018-04-25)

  • First release on PyPI.

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

celery-persistent-revokes-1.0.1.tar.gz (7.8 kB view hashes)

Uploaded Source

Built Distribution

celery_persistent_revokes-1.0.1-py2.py3-none-any.whl (7.4 kB view hashes)

Uploaded Python 2 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