Metadata-Version: 2.4
Name: costpilot
Version: 0.1.0
Summary: Privacy-first LLM and infrastructure cost tracking SDK.
License: Proprietary
Requires-Python: >=3.10
Requires-Dist: aiosqlite>=0.20.0
Requires-Dist: anthropic>=0.45.0
Requires-Dist: click>=8.1.0
Requires-Dist: cryptography>=42.0.0
Requires-Dist: httpx>=0.27.0
Requires-Dist: openai>=1.55.0
Requires-Dist: pyyaml>=6.0.0
Requires-Dist: rich>=13.7.0
Requires-Dist: sqlalchemy>=2.0.0
Requires-Dist: sqlcipher3>=0.5.3
Requires-Dist: tiktoken>=0.8.0
Provides-Extra: dev
Requires-Dist: pytest-cov>=5.0.0; extra == 'dev'
Requires-Dist: pytest>=8.0.0; extra == 'dev'
Description-Content-Type: text/markdown

# CostPilot Python SDK

The SDK instruments LLM provider clients, writes sanitized cost records to local
SQLite, and optionally syncs those sanitized records to CostPilot cloud when a
cloud API key is configured.

```python
from costpilot import CostPilotClient
import anthropic

cp = CostPilotClient(project="blueprint-ai", user_id="user_123")
client = cp.wrap(anthropic.Anthropic())
response = client.messages.create(model="claude-haiku-4-5", messages=[])
```
