Skip to main content

PolyLLM Core for Python

PolyLLM Python 版核心包提供统一请求/响应协议、模型注册表、别名解析、参数策略和插件客户端。核心不内置任何厂商逻辑,所有供应商能力都由独立插件提供。

from polyllm_core import create_llm
from polyllm_openai import OpenAIPlugin

llm = create_llm(
    plugins=[OpenAIPlugin()],
    providers={"openai": {"api_key": "..."}},
)

response = await llm.chat(
    "openai:gpt-4o-mini",
    messages=[{"role": "user", "content": "你好"}],
)

Metadata

Release files for polyllm-core 0.5.1

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

Source distribution (sdist)

Source distribution for polyllm-core 0.5.1
File Size Uploaded Provenance
polyllm_core-0.5.1.tar.gz 26.4 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for polyllm-core 0.5.1
File Interpreter ABI Platform
polyllm_core-0.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 50.7 kB

Release files / polyllm_core-0.5.1.tar.gz

Download URL polyllm_core-0.5.1.tar.gz
Size 26.4 kB
Tags Source
SHA-256 checksum
How to use checksums
58b7ef4a0a0de8dd4cddb1f2a8fcc3f4e22a9f7a3f0e7f19d8425e632be93e43
BLAKE2b-256 checksum
How to use checksums
99a1c5d22acaa89219d83c83455308152a962408626203acadb8c56a8cc77a2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Release files / polyllm_core-0.5.1-py3-none-any.whl

Download URL polyllm_core-0.5.1-py3-none-any.whl
Size 24.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2bce53be813eec6d64cf2a4fb3ee9ff9a14c647a4913a88d6c7d374b81647763
BLAKE2b-256 checksum
How to use checksums
5f1d280080d00134345228ef15432f71f78061543a6b5abde383c07a8f65dd84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Security for polyllm-core 0.5.1

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for polyllm_core-0.5.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

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.

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