Skip to main content

Experimental task class that buffers messages and processes them as a list.

Project description

Celery Batches

https://api.travis-ci.com/clokep/celery-batches.svg?branch=main Documentation Status

Celery Batches provides a Task class that allows processing of multiple Celery task calls together as a list. The buffer of tasks calls is flushed on a timer and based on the number of queued tasks.

What do I need?

celery-batches version runs on,

  • Python (3.6, 3.7, 3.8)

  • PyPy3 (7.6)

And is tested with Celery >= 4.4.

If you’re running an older version of Python, you need to be running an older version of celery-batches:

  • Python 2.7: celery-batches 0.3 series.

  • Python 3.4: celery-batches 0.2 series.

  • Python 3.5: celery-batches 0.3 series.

If you’re running an older version of Celery, you need to be running an older version of celery-batches:

  • Celery < 4.0: Use celery.contrib.batches instead.

  • Celery 4.0 - 4.3: celery-batches 0.3 series.

History

Celery Batches was distributed as part of Celery (as celery.contrib.batches) until Celery 4.0. This project updates the Batches code to maintain compatiblity with newer versions of Celery and other fixes. See the Changelog for details.

Additionally, this repository includes the full history of the code from celery.contrib.batches, but rewritten to the celery_batches/__init__.py file.

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-batches-0.4.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

celery_batches-0.4-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file celery-batches-0.4.tar.gz.

File metadata

  • Download URL: celery-batches-0.4.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.7

File hashes

Hashes for celery-batches-0.4.tar.gz
Algorithm Hash digest
SHA256 98634cc4735270e3fa0a1d1e2cfe6da58d06a0d06026839cc62e12f02c324fea
MD5 c31c1eb2d0eefb5ba137c9f0bab6e2c7
BLAKE2b-256 d4c1ee7112f4ef4687cdd280e31643dc2a39fd3dd1d9560cae9e4a21174b081c

See more details on using hashes here.

Provenance

File details

Details for the file celery_batches-0.4-py3-none-any.whl.

File metadata

  • Download URL: celery_batches-0.4-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.7

File hashes

Hashes for celery_batches-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 92c40ee3424209043f638d061232b3541d97dcf2ecdfe9429862b79538e5354f
MD5 a07274890aefa77b4ad4edfc5a010acb
BLAKE2b-256 cff405b490f5a926c813381da772f4c1a17c001e99003cc34ef57adf813961af

See more details on using hashes here.

Provenance

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