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, andtask_failure - Tenant extraction from task keyword arguments when
tenant_idis provided - Task result metadata extraction for
tokens_in,tokens_out, andcost_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.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lumen_ai_sdk_celery-0.1.6.tar.gz | 5.0 kB | Without provenance | Details for lumen_ai_sdk_celery-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lumen_ai_sdk_celery-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for lumen_ai_sdk_celery-0.1.6-py3-none-any.whl |
Total release size: 9.3 kB
Release files / lumen_ai_sdk_celery-0.1.6.tar.gz
| Download URL | lumen_ai_sdk_celery-0.1.6.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71c1090db3414502a498441f0f6182bedde76a8ff8d59f14d99243afbb2af6f6
|
|
BLAKE2b-256 checksum How to use checksums |
527c23883a7974539a0a00b7176f89cbed187873118baec1137825a2ec684694
|
| 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.6-py3-none-any.whl
| Download URL | lumen_ai_sdk_celery-0.1.6-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2494a9a2d74e7d9bc10d2ab388907b25e2decf313b03afa842e08034b5c905a9
|
|
BLAKE2b-256 checksum How to use checksums |
078d39c4de84e44617399e744339fa9181943a3a27ad688f7be5407e55d51a93
|
| 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.6
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.