Skip to main content

lumen-ai-sdk-celery

Celery integration for LumenAI. Versions up to 0.1.3 were published as lumen-ai-celery.

Includes

  • CeleryInstrumentor
  • Signal-based instrumentation for task_prerun, task_postrun, and task_failure
  • Tenant extraction from task keyword arguments when tenant_id is provided
  • Task result metadata extraction for tokens_in, tokens_out, and cost_usd

Install

pip install lumen-ai-sdk-celery

Usage

from lumen_ai import LumenAI
from lumen_ai_celery import CeleryInstrumentor

LumenAI.init(
    service_name="worker",
    redis_url="redis://localhost:6379/0",
    instrumentors=[CeleryInstrumentor()],
)

The integration observes task lifecycle spans without changing existing task bodies.

Metadata

Release files for lumen-ai-sdk-celery 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lumen-ai-sdk-celery 0.1.4
File Size Uploaded Provenance Actions
lumen_ai_sdk_celery-0.1.4.tar.gz 4.9 kB Without provenance Details for lumen_ai_sdk_celery-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lumen-ai-sdk-celery 0.1.4
File Interpreter ABI Platform Actions
lumen_ai_sdk_celery-0.1.4-py3-none-any.whl Python 3 none any Details for lumen_ai_sdk_celery-0.1.4-py3-none-any.whl

Total release size: 9.3 kB

Release files / lumen_ai_sdk_celery-0.1.4.tar.gz

Download URL lumen_ai_sdk_celery-0.1.4.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c469d0389a6c3185c4fb6648cbba924b82c62fd5b91bb5f432a2349fb17e54d4
BLAKE2b-256 checksum
How to use checksums
d212f34d00debbea06724bf912a395e0c70172ececb55a645342f9f2b9adadf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / lumen_ai_sdk_celery-0.1.4-py3-none-any.whl

Download URL lumen_ai_sdk_celery-0.1.4-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
67e3406653b79787371072a304909a459df6ddf8d64e7f1eaeba69d249c3b8b5
BLAKE2b-256 checksum
How to use checksums
b6d43e6bae2573571329891e57ad614d706edb962415a38c15188cd7fbec54b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for lumen-ai-sdk-celery 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page