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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: celery_debounce-0.2.0.tar.gz
  • Upload date:
  • Size: 9.7 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.0.tar.gz
Algorithm Hash digest
SHA256 08880757e9862bd8016991ce395b3cf9361cd92e0c67781330e26cc1fba669a1
MD5 29c642f9a891e2986c532c9b6b152e48
BLAKE2b-256 1a3c586e50e404dd99c84b55778374fafe970d43ea5f518bcfc0d457c4ddaf23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for celery_debounce-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 88ace8d5a5137e8ec97c57a81946b825ebd94c9d669f9f15e2392dc7a0816e9f
MD5 5f5f3efd50a68de5f9d2d1693e624c25
BLAKE2b-256 54302c9cd78a911e4442c0950132f47fca6df4f4b5398c31e7a079e495dd058b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page