Skip to main content

Send 2 LLM

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

Установка

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

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

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

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

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/.

Примеры

Больше примеров в examples/:

  • Базовые примеры
  • Работа с разными провайдерами
  • Асинхронная обработка
  • Стратегии отказоустойчивости

Metadata

Release files for send-2-llm 0.9.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for send-2-llm 0.9.7
File Size Uploaded
send_2_llm-0.9.7.tar.gz 99.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for send-2-llm 0.9.7
File Interpreter ABI Platform
send_2_llm-0.9.7-py3-none-any.whl Python 3 none any Details

Total release size: 186.4 kB

Release files / send_2_llm-0.9.7.tar.gz

Download URL send_2_llm-0.9.7.tar.gz
Size 99.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f608f787d71a23f94223d1494320b7c6f78c37fa1ffe04c072b633da3009e344
BLAKE2b-256 checksum
How to use checksums
f0cb076f92feaa18bc26b2214b14635878d0e15c66d04cf23594e86943836c19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.8.10

Release files / send_2_llm-0.9.7-py3-none-any.whl

Download URL send_2_llm-0.9.7-py3-none-any.whl
Size 86.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
24f7cb2ad1eb5bdad165ddacd4fa90b53652e1f20512128d5346719fd795fa13
BLAKE2b-256 checksum
How to use checksums
5bf258a8f38b96628bfd08f34f0f462fd7f35bcee6b30a32614261902766de79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.9.7 This release

2 release files

0.9.6

1 release file

0.9.5

2 release files

0.9.4

1 release file

0.9.3

1 release file

0.9.2

2 release files

0.9.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page