{"id":16360455,"url":"https://github.com/clokep/celery-batches","last_synced_at":"2025-04-05T14:04:52.210Z","repository":{"id":42045486,"uuid":"126513816","full_name":"clokep/celery-batches","owner":"clokep","description":"Celery Batches allows processing of multiple Celery task requests together","archived":false,"fork":false,"pushed_at":"2024-08-06T17:49:12.000Z","size":159,"stargazers_count":86,"open_issues_count":9,"forks_count":25,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-11T02:11:43.378Z","etag":null,"topics":["batch-task","celery","celery-task","celery-tasks","python"],"latest_commit_sha":null,"homepage":"https://celery-batches.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clokep.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"clokep"}},"created_at":"2018-03-23T16:50:07.000Z","updated_at":"2024-07-20T11:13:09.000Z","dependencies_parsed_at":"2024-06-19T02:41:24.559Z","dependency_job_id":"7cf01fb1-4acd-4609-8fa6-84ad8631aa96","html_url":"https://github.com/clokep/celery-batches","commit_stats":{"total_commits":198,"total_committers":19,"mean_commits":"10.421052631578947","dds":0.4494949494949495,"last_synced_commit":"0c576438a92a24e5197db278929e49f5e10d82d2"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clokep%2Fcelery-batches","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clokep%2Fcelery-batches/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clokep%2Fcelery-batches/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clokep%2Fcelery-batches/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clokep","download_url":"https://codeload.github.com/clokep/celery-batches/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247345850,"owners_count":20924102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["batch-task","celery","celery-task","celery-tasks","python"],"created_at":"2024-10-11T02:11:31.315Z","updated_at":"2025-04-05T14:04:52.205Z","avatar_url":"https://github.com/clokep.png","language":"Python","funding_links":["https://github.com/sponsors/clokep"],"categories":[],"sub_categories":[],"readme":"Celery Batches\n==============\n\n.. image:: https://img.shields.io/pypi/v/celery-batches.svg\n    :target: https://pypi.org/project/celery-batches/\n\n.. image:: https://github.com/clokep/celery-batches/actions/workflows/main.yml/badge.svg\n    :target: https://github.com/clokep/celery-batches/actions/workflows/main.yml\n\n.. image:: https://readthedocs.org/projects/celery-batches/badge/?version=latest\n    :target: https://celery-batches.readthedocs.io/en/latest/?badge=latest\n    :alt: Documentation Status\n\nCelery Batches provides a ``Task`` class that allows processing of multiple\nCelery task calls together as a list. The buffer of tasks calls is flushed on a\ntimer and based on the number of queued tasks.\n\nSome potential use-cases for batching of task calls include:\n\n* De-duplicating tasks.\n* Accumulating / only handling the latest task with similar arguments.\n* Bulk inserting / updating of data.\n* Tasks with expensive setup that can run across a range of arguments.\n\nWhat do I need?\n===============\n\ncelery-batches version runs on,\n\n- Python (3.9, 3.10, 3.11, 3.12, 3.13)\n- PyPy (3.10, 3.11)\n\nAnd is tested with Celery ~= 5.0.\n\nIf you're running an older version of Python, you need to be running\nan older version of celery-batches, the last version supporting each\nPython version is listed below:\n\n- Python 2.7: celery-batches 0.3.\n- Python 3.4: celery-batches 0.2.\n- Python 3.5: celery-batches 0.3.\n- Python 3.6: celery-batches 0.5.\n- Python 3.7: celery-batches 0.7.\n- Python 3.8: celery-batches 0.9.\n\nIf you're running an older version of Celery, you need to be running\nan older version of celery-batches:\n\n- Celery \u003c 4.0: Use `celery.contrib.batches` instead.\n- Celery 4.0 - 4.3: celery-batches 0.3.\n- Celery 4.4: celery-batches 0.7.\n- Celery 5.0 - 5.1: celery-batches 0.9.\n\nHistory\n=======\n\nCelery Batches was distributed as part of Celery (as ``celery.contrib.batches``)\nuntil Celery 4.0. This project updates the Batches code to maintain compatiblity\nwith newer versions of Celery and other fixes. See the Changelog for details.\n\nAdditionally, this repository includes the full history of the code from\n``celery.contrib.batches``, but rewritten to the ``celery_batches/__init__.py``\nfile.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclokep%2Fcelery-batches","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclokep%2Fcelery-batches","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclokep%2Fcelery-batches/lists"}