Metadata-Version: 2.4
Name: token_purveyor
Version: 0.1.0
Summary: Drop-in LLM cost tracker, analyzer, and optimizer
License: MIT
Keywords: cost,llm,openai,optimization,tokens,tracking
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.12
Requires-Dist: click>=8.0
Requires-Dist: httpx>=0.27
Requires-Dist: pydantic>=2.0
Requires-Dist: rich>=13.0
Provides-Extra: dev
Requires-Dist: pytest-asyncio>=0.23; extra == 'dev'
Requires-Dist: pytest-mock>=3.12; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Description-Content-Type: text/markdown

# token_purveyor

Drop-in LLM cost tracker, deduplicator, cluster analyzer, and optimizer. One line of setup.
```python
import openai
from token_purveyor import CostAwareClient

client = CostAwareClient(openai.OpenAI())
response = client.chat.completions.create(
    model="gpt-4o-mini",
    messages=[{"role": "user", "content": "Hello"}],
)
```