Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for celery-persistent-revokes, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size celery_persistent_revokes-1.0.1-py2.py3-none-any.whl (7.4 kB) File type Wheel Python version 3.6 Upload date Hashes View hashes
Filename, size celery-persistent-revokes-1.0.1.tar.gz (7.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page