Metis Python SDK
Metis 应用后端 SDK,用于读取统一应用身份、可信请求上下文、声明的 Web/Service 依赖,以及模型和对象存储配置。
安装
python -m pip install metis-platform-sdk
from metis_sdk import from_env
client = from_env()
for dependency in client.list_dependencies():
print(dependency["app_id"])
运行环境必须提供 METIS_PLATFORM_ENDPOINT、METIS_APP_ID 和 METIS_APP_TOKEN。本地测试可以向 Client 显式传入配置。SDK 不创建厂商模型/存储客户端,也不隐藏重试。
开发
python -m pytest
python -m build
许可证
Apache-2.0,见 LICENSE。
Metadata
Release files for metis-platform-sdk 0.1.1
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 | |
|---|---|---|---|---|
| metis_platform_sdk-0.1.1.tar.gz | 10.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| metis_platform_sdk-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.0 kB
Release files / metis_platform_sdk-0.1.1.tar.gz
| Download URL | metis_platform_sdk-0.1.1.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6a5714f5ec0fb0734b2082e9fba9cee97d58edc9b4c0194089e99c0d171eea84
|
|
BLAKE2b-256 checksum How to use checksums |
e893884b4318e31e7ea62f3e826c3dc69e758a59ea08b584b426f9b1748df630
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / metis_platform_sdk-0.1.1-py3-none-any.whl
| Download URL | metis_platform_sdk-0.1.1-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f132528f6a97971697d848da1638ec0497e174508b86e015db55b8b3d42fe507
|
|
BLAKE2b-256 checksum How to use checksums |
123508b7330ef0bc02326965e691251bcbf01ddd0a86822610ff7e8364da4afc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for metis-platform-sdk 0.1.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.
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.