{"categories":[{"label":"Distributed Computing","url":"https://skillfed.io/packages/category/system-distributed-computing/2"},{"label":"Object Brokering","url":"https://skillfed.io/packages/category/software-development-object-brokering"}],"enrichment":{"capability":"Celery Batches provides a Task class that buffers multiple Celery task calls and processes them together as a list, flushing on a timer or when a size threshold is reached.","skillfed_tags":["celery-extension","task-batching","distributed-tasks"],"use_cases":["Bulk database inserts or updates where individual row operations are inefficient compared to batch operations.","De-duplicating or coalescing similar task requests that arrive in rapid succession.","Processing tasks with expensive initialization amortized across multiple items.","Accumulating metrics or log entries and writing them in bulk rather than individually.","Rate-limiting or throttling task execution by grouping requests into batches."],"what_it_does":"Celery Batches is a task extension for Celery that groups multiple task calls into a single batch before execution. Instead of processing tasks individually, you define a batch task that receives a list of accumulated task arguments and processes them together. The batch is flushed either when a configurable number of tasks accumulate or after a timer interval expires, whichever comes first.\n\nThis pattern is useful when individual task execution has expensive setup costs that can be amortized across multiple items, or when you want to deduplicate similar requests, keep only the latest variant of a task, or bulk-insert data. The package was originally part of Celery's contrib module but was extracted as a standalone project to maintain compatibility with modern Celery versions (5.0+) and current Python releases (3.9\u20133.14).","worth_installing":"Yes, if you use Celery and have workloads where batching reduces overhead or improves throughput. The package is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive license. The Alpha status is not a blocker. Install it when you have a concrete use case for task batching; it is not a general-purpose upgrade."},"id":"celery-batches","links":{"html":"https://skillfed.io/packages/celery-batches","md":"https://skillfed.io/packages/celery-batches.md","pypi":"https://pypi.org/project/celery-batches/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-01-16","license_spdx":"BSD-3-Clause","license_treatment":"permissive","name":"celery-batches","python_support":"supports_current","summary":"Experimental task class that buffers messages and processes them as a list."},"popularity":{"monthly_downloads":197110,"position":9769,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.11"}
