$npx skillfedfor your agent

celery-batches

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

With conditionsPyPI Distributed ComputingReleased Jan 2026197.1K downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — celery_batches-0.11-py3-none-any.whl
v0.11 · released 2026-01-16 · Python >=3.9 · 1 runtime deps: celery

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later and Celery ~= 5.0; older Python or Celery versions require older celery-batches releases.
  • Low install friction with a single runtime dependency on celery.
  • Actively maintained with a recent release and ongoing repository activity.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause is a permissive license that allows commercial and private use with minimal restrictions, requiring only preservation of copyright and license notices.

last release 2026-01-16 (210 days) · last repo commit 2026-04-13 · 101 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 197,110 downloads/mo, #9,769 on PyPI

Verify before relying

pip install celery-batches

from celery_batches import batch
from celery import Celery

app = Celery()

@app.task(base=batch)
def process_batch(tasks):
    # tasks is a list of task arguments
    pass
  • Whether the package's Alpha development status reflects stability concerns or is simply a conservative classification.
  • Performance characteristics when batching large numbers of tasks or with high-frequency flush triggers.
  • Specific configuration options for flush_every and flush_interval parameters.
Same gist for agents: .md · .json

What it is and 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.

This 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–3.14).

Use it for

  • 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.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

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.

Install

celery-batches on PyPI

Before you install

Low install friction with a single runtime dependency on celery. Actively maintained with a recent release and ongoing repository activity.

Requires Python 3.9 or later and Celery ~= 5.0; older Python or Celery versions require older celery-batches releases.

License in practice

BSD-3-Clause is a permissive license that allows commercial and private use with minimal restrictions, requiring only preservation of copyright and license notices.

Quickstart

pip install celery-batches

from celery_batches import batch
from celery import Celery

app = Celery()

@app.task(base=batch)
def process_batch(tasks):
    # tasks is a list of task arguments
    pass

Verify before relying

  • Whether the package's Alpha development status reflects stability concerns or is simply a conservative classification.
  • Performance characteristics when batching large numbers of tasks or with high-frequency flush triggers.
  • Specific configuration options for flush_every and flush_interval parameters.

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
celery
MaintenanceActively maintained 210 days since the last release
Last repo commit
First released
Downloads197,110 / month, #9,769 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Object BrokeringTopic :: System :: Distributed Computing

Evidence: celery_batches-0.11-py3-none-any.whl

Tags

Capabilities
celery task batchingbatch processing celery taskscelery message bufferingbulk task executioncelery deduplicationaccumulate celery taskscelery batch queue
Topics
celery-extensiontask-batchingdistributed-tasks
PyPI keywords
taskjobqueuedistributedmessagingactorcelery

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “celery task batching”

Give your agent the search over MCP, or paste the wish link into any chat.

More Distributed Computing packages

grpcio Worth it
PyPI · Distributed Computing · released Jul 2026

gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.

Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.

Apache-2.0compiled wheel · 3.10+
446.4Mdownloads / mo
execnet With conditions
PyPI · Libraries · released Nov 2025

execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.

However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…

MITpure Python · 3.8+aging
172.1Mdownloads / mo
cloudpickle Worth it
PyPI · Scientific/Engineering · released Nov 2025

Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.

Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.

BSD-3-Clausepure Python · 3.8+
148.4Mdownloads / mo
smart-open Worth it
PyPI · Distributed Computing · released Jul 2026

Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.

Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.

MITpure Python
72.8Mdownloads / mo
portalocker Worth it
PyPI · Libraries · released Aug 2026

Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.

Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.

BSD-3-Clausepure Python · 3.10+
65.1Mdownloads / mo
ray Worth it
PyPI · Distributed Computing · released Aug 2026

Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.

permissive licensecompiled wheel · 3.10+
63.3Mdownloads / mo

See also celery · celery-stubs · celery-singleton · dvc-task · celery_once · django-celery-email · taskiq · apache-airflow-providers-celery · celery-progress · mixpanel-py-async