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
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for celery-persistent-revokes-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | af885bef53bf5ae24987e322eccabe94fd9b1e58d94c831b32e371da2a717f3a |
|
MD5 | 55c5982a9f2dfa52d75b041a1bc8686a |
|
BLAKE2b-256 | 5593695fad6518b30355a59790f528ba36fa28db9125e096a21807fb1e83f4b0 |
Hashes for celery_persistent_revokes-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7226e5f095477e2cd72112a32345fe95194dd5633dcbf7de53cfab559951070c |
|
MD5 | d0f0997f9d81c21badd994d5767f0a56 |
|
BLAKE2b-256 | 5f0bdab23b5a00245548f719f32d822377499e7c56bf2319858b389b62774e98 |