Metadata-Version: 2.3
Name: aep-otel
Version: 1.1.3
Summary: OpenTelemetry (OTEL) SDK for Attention-Event-Protocol (AEP) a.k.a. LLM & Human Attention Telemetry
License: MIT
Keywords: opentelemetry,otel,llm,attention,observability,aep
Author: Mani R. Shahmadi
Author-email: mani@attentioneventprotocol.com
Requires-Python: >=3.9,<3.13
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Logging
Classifier: Topic :: System :: Monitoring
Requires-Dist: openai (>=1.30.0,<2.0.0)
Requires-Dist: opentelemetry-api (>=1.25.0,<2.0.0)
Requires-Dist: opentelemetry-exporter-otlp-proto-http (>=1.25.0,<2.0.0)
Requires-Dist: opentelemetry-sdk (>=1.25.0,<2.0.0)
Project-URL: Homepage, https://github.com/attention-event-protocol/aep-otel
Project-URL: Repository, https://github.com/attention-event-protocol/aep-otel
Description-Content-Type: text/markdown

# Python SDK (`aep-otel`)

Stub package. Goals for Alpha:

1. Wrap OpenAI `ChatCompletion` call and emit AEP spans.
2. Export via OTLP to collector (fallback: JSONL file).
3. Expose `AEPSpan` helper to embed retrieval / attention metadata.

## TODO

- [x] pyproject.toml via Poetry.
- [x] Basic unit test with `pytest`.
- [x] Example script in `examples/` directory.
