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

Uploaded Source

Built Distribution

celery_persistent_revokes-1.0.0-py2.py3-none-any.whl (7.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file celery-persistent-revokes-1.0.0.tar.gz.

File metadata

File hashes

Hashes for celery-persistent-revokes-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5fedaea5bdeb298ca426be988243c6463aba6f042c199f5324d6a558ba6be31b
MD5 0eca9acbe9279d7262155ed2b5c7e6ff
BLAKE2b-256 cf444dbad0aaac046a5560fbc4241e104cd5a7c1f512b47d8d6e905a15e6627c

See more details on using hashes here.

File details

Details for the file celery_persistent_revokes-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for celery_persistent_revokes-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 562dcc7ce5669d0a5ebbb21059fccc9a8a2596eb228dab3b686f6d284f7e3241
MD5 1825915c4305566969dc05246b1a7bcb
BLAKE2b-256 740cafc4f6aaf348342af36ad9ec3e5efff13ef28758738f671c8fe535fff3ba

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