Metadata-Version: 2.5
Name: ccflow-celery
Version: 0.1.1
Summary: Celery evaluator for ccflow
Project-URL: Repository, https://github.com/1kbgz/ccflow-celery
Project-URL: Homepage, https://github.com/1kbgz/ccflow-celery
Author-email: 1kbgz <dev@1kbgz.com>
License: Apache-2.0
License-File: LICENSE
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.11
Requires-Dist: ccflow>=0.6.10
Requires-Dist: celery
Provides-Extra: develop
Requires-Dist: build; extra == 'develop'
Requires-Dist: bump-my-version; extra == 'develop'
Requires-Dist: check-dist; extra == 'develop'
Requires-Dist: codespell; extra == 'develop'
Requires-Dist: hatchling; extra == 'develop'
Requires-Dist: mdformat; extra == 'develop'
Requires-Dist: mdformat-myst; extra == 'develop'
Requires-Dist: mdformat-tables>=1; extra == 'develop'
Requires-Dist: pytest; extra == 'develop'
Requires-Dist: pytest-cov; extra == 'develop'
Requires-Dist: ruff; extra == 'develop'
Requires-Dist: twine; extra == 'develop'
Requires-Dist: ty; extra == 'develop'
Requires-Dist: uv; extra == 'develop'
Requires-Dist: wheel; extra == 'develop'
Requires-Dist: yardang; extra == 'develop'
Description-Content-Type: text/markdown

# ccflow-celery

Celery evaluator for ccflow

[![Build Status](https://github.com/1kbgz/ccflow-celery/actions/workflows/build.yaml/badge.svg?branch=main&event=push)](https://github.com/1kbgz/ccflow-celery/actions/workflows/build.yaml)
[![codecov](https://codecov.io/gh/1kbgz/ccflow-celery/branch/main/graph/badge.svg)](https://codecov.io/gh/1kbgz/ccflow-celery)
[![License](https://img.shields.io/github/license/1kbgz/ccflow-celery)](https://github.com/1kbgz/ccflow-celery)
[![PyPI](https://img.shields.io/pypi/v/ccflow-celery.svg)](https://pypi.python.org/pypi/ccflow-celery)

## Overview

`ccflow-celery` provides a public, domain-neutral Celery-backed evaluator for `ccflow` callable models. It owns Celery app configuration, task serialization, worker execution, task routing, result handling, and Celery-specific operational documentation.

Shared graph semantics, checkpoint models, retry policy definitions, and ETL run metadata should live in `ccflow` or `ccflow-etl` when they apply beyond Celery.

## Current Status

- Implemented: `CeleryEvaluator`, `CeleryGraphEvaluator`, Celery app configuration, task dispatch, task-side model/context reconstruction, and a Fibonacci example.
- Partial: serialization hardening, result backend strategy, task routing, cancellation, timeout propagation, and integration with generic ETL retry/checkpoint metadata.
- Missing: opt-in integration tests for worker execution, production-oriented deployment docs, and guidance for large results that should not be materialized through Celery result payloads.

## Dependency Contract

- Depends on `ccflow` and Celery.
- May consume generic ETL metadata from `ccflow-etl` if the contract remains scheduler-neutral.
- Must not depend on finance packages or application-specific packages.

## Test Convention

Default tests should run without a live broker by using eager/in-memory Celery modes or mocks. Tests that require Redis, RabbitMQ, or a real worker should be opt-in and skipped by default.

> [!NOTE]
> This library was generated using [copier](https://copier.readthedocs.io/en/stable/) from the [Base Python Project Template repository](https://github.com/python-project-templates/base).
