Metadata-Version: 2.5
Name: trustedrouter
Version: 0.10.0
Summary: Alias for trusted-router-py, the official TrustedRouter Python SDK.
Project-URL: Homepage, https://trustedrouter.com
Project-URL: Documentation, https://github.com/Lore-Hex/trusted-router-py#readme
Project-URL: Issues, https://github.com/Lore-Hex/trusted-router-py/issues
Project-URL: Repository, https://github.com/Lore-Hex/trusted-router-py
Project-URL: Trust, https://trust.trustedrouter.com
Author: Lore Hex
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: alias,llm,openai,sdk,trustedrouter
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.10
Requires-Dist: trusted-router-py>=0.10.0
Provides-Extra: attestation
Requires-Dist: trusted-router-py[attestation]>=0.10.0; extra == 'attestation'
Provides-Extra: receipts
Requires-Dist: trusted-router-py[receipts]>=0.10.0; extra == 'receipts'
Description-Content-Type: text/markdown

# trustedrouter

`trustedrouter` is an alias that installs the official TrustedRouter Python SDK,
[`trusted-router-py`](https://pypi.org/project/trusted-router-py/).

```bash
pip install trustedrouter
```

This distribution contains only metadata. The SDK provides the `trustedrouter`
and `trusted_router` import names and the `trustedrouter` command.
The `attestation` and `receipts` extras are forwarded to the SDK, for example
`pip install "trustedrouter[attestation]"` or `pip install "trustedrouter[receipts]"`.

## Quick start

```python
from trustedrouter import TrustedRouter, AUTO_MODEL

with TrustedRouter(api_key="sk-tr-v1-...") as client:
    resp = client.chat_completions(
        model=AUTO_MODEL,                     # "trustedrouter/auto" — multi-provider failover
        messages=[{"role": "user", "content": "hello"}],
    )
    print(resp.choices[0].message.content)    # typed: ChatCompletion model
```

- [TrustedRouter](https://trustedrouter.com)
- [Documentation](https://github.com/Lore-Hex/trusted-router-py#readme)
- [Official SDK on PyPI](https://pypi.org/project/trusted-router-py/)
- [Official SDK on GitHub](https://github.com/Lore-Hex/trusted-router-py)
