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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| send_2_llm-0.9.7.tar.gz | 99.4 kB | Without provenance | Details for send_2_llm-0.9.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| send_2_llm-0.9.7-py3-none-any.whl | Python 3 | none | any | Details for send_2_llm-0.9.7-py3-none-any.whl |
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
|
Security for send-2-llm 0.9.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.