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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for celery-persistent-revokes-1.0.1.tar.gz
Algorithm Hash digest
SHA256 af885bef53bf5ae24987e322eccabe94fd9b1e58d94c831b32e371da2a717f3a
MD5 55c5982a9f2dfa52d75b041a1bc8686a
BLAKE2b-256 5593695fad6518b30355a59790f528ba36fa28db9125e096a21807fb1e83f4b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for celery_persistent_revokes-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7226e5f095477e2cd72112a32345fe95194dd5633dcbf7de53cfab559951070c
MD5 d0f0997f9d81c21badd994d5767f0a56
BLAKE2b-256 5f0bdab23b5a00245548f719f32d822377499e7c56bf2319858b389b62774e98

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