Skip to main content

celery debounce without cache

Project description

Celery Debounce

Celery debounce without using cache.

How to create debounce task?

from celery_debounce.celery_debounce import DebouncedTask

@app.task(bind=True, base=DebouncedTask)
def testing_task(self, some_id):
    """
    how to call task?
    testing_task.debounce(some_id=1234)
    """
    print("from testing_task", some_id)

How to call the task?

testing_task.debounce(some_id=1234)

With countdown (By default it's 60 seconds):

testing_task.debounce(some_id=1234, countdown=10)

======= History

0.1.0 (2022-10-21)

  • 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_debounce-0.2.1.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

celery_debounce-0.2.1-py2.py3-none-any.whl (4.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file celery_debounce-0.2.1.tar.gz.

File metadata

  • Download URL: celery_debounce-0.2.1.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for celery_debounce-0.2.1.tar.gz
Algorithm Hash digest
SHA256 f05746f7084a234086a446fdf82791967d11f85b675a0fea8ba21f1f84ad0f43
MD5 ecd03a0f1328ac5aa5619192a2aec36f
BLAKE2b-256 f279b5ef61c5fced671c096d5b788362a3452928c12338e70b9335fe9ac7b0c1

See more details on using hashes here.

File details

Details for the file celery_debounce-0.2.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for celery_debounce-0.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3ef4dd1636b48af79674d7b01b95c6ead15ccfad2d71df643dc29344f4d7f101
MD5 bde3b901fbabf07a13dcf040a2896ca5
BLAKE2b-256 a85d1ca1c09ddc40469202c9694437ba67b38e77f229261a7ea2bca68561978d

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