Metadata-Version: 2.4
Name: multillm-core
Version: 0.1.0
Summary: A unified interface for multiple LLM providers
Author: Divas Rajan
License: MIT
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.9
Requires-Dist: google-genai>=1.47.0
Requires-Dist: pydantic>=2.0.0
Provides-Extra: all
Requires-Dist: anthropic>=0.10.0; extra == 'all'
Requires-Dist: google-genai>=0.1.0; extra == 'all'
Requires-Dist: openai>=1.0.0; extra == 'all'
Provides-Extra: anthropic
Requires-Dist: anthropic>=0.10.0; extra == 'anthropic'
Provides-Extra: gemini
Requires-Dist: google-genai>=0.1.0; extra == 'gemini'
Provides-Extra: openai
Requires-Dist: openai>=1.0.0; extra == 'openai'
Description-Content-Type: text/markdown

# multillm-core

A unified interface for multiple LLM providers (OpenAI, Anthropic, Gemini).

## Installation

```bash
pip install multillm-core
```

### Install with specific providers:

```bash
pip install "multillm-core[openai]"
pip install "multillm-core[anthropic]"
pip install "multillm-core[gemini]"
pip install "multillm-core[all]"
```

## Example Usage

```python
import asyncio
from multillm import create_client

async def main():
    client = create_client("openai", api_key="your-key")
    response = await client.generate(
        model="gpt-4o",
        prompt="Explain quantum entanglement in one sentence."
    )
    print(f"[{response.provider}] {response.text}")
    print(f"Usage: {response.usage}")

if __name__ == "__main__":
    asyncio.run(main())
```

## Supported Providers
- OpenAI
- Anthropic
- Google Gemini

## License
MIT
