Metadata-Version: 2.1
Name: send-2-llm
Version: 0.9.7
Summary: A flexible LLM provider switching library
Project-URL: Homepage, https://github.com/your-repo/send-2-llm
Project-URL: Documentation, https://github.com/your-repo/send-2-llm#readme
Project-URL: Repository, https://github.com/your-repo/send-2-llm.git
Project-URL: Issues, https://github.com/your-repo/send-2-llm/issues
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pydantic>=2.0.0
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: aiohttp>=3.8.0
Requires-Dist: pyyaml>=6.0.0
Requires-Dist: rich>=13.8.1
Requires-Dist: tiktoken>=0.6.0
Requires-Dist: openai>=1.58.1
Requires-Dist: anthropic>=0.3.0
Requires-Dist: together>=0.2.11
Requires-Dist: google-generativeai>=0.3.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.20.0; extra == "dev"
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
Requires-Dist: black>=22.0.0; extra == "dev"
Requires-Dist: isort>=5.0.0; extra == "dev"
Requires-Dist: mypy>=1.0.0; extra == "dev"
Requires-Dist: pylint>=2.0.0; extra == "dev"
Requires-Dist: pre-commit>=3.0.0; extra == "dev"
Requires-Dist: build>=1.0.0; extra == "dev"
Requires-Dist: twine>=4.0.0; extra == "dev"

# Send 2 LLM

Гибкая библиотека для работы с различными LLM провайдерами.

## Установка

Выберите удобный способ:

```bash
# Способ 1: Прямая установка
pip install send-2-llm

# Способ 2: Через requirements.txt
pip install -r requirements.txt
```

## Быстрый старт

```python
from send_2_llm import LLMClient

async def main():
    # Создаем клиент
    client = LLMClient()
    
    # Отправляем запрос
    response = await client.generate("Напиши короткое хайку о программировании")
    print(response)

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

## Требования
- Python 3.11+
- API ключи провайдеров (см. документацию)

## Поддерживаемые провайдеры
- OpenAI (GPT-3.5, GPT-4)
- Anthropic (Claude)
- Together AI
- Google Gemini

## Документация
Полная документация доступна в [docs/](docs/).

## Примеры
Больше примеров в [examples/](examples/):
- Базовые примеры
- Работа с разными провайдерами
- Асинхронная обработка
- Стратегии отказоустойчивости 
