This release is a pre-release and may not be stable for production use.
eraflow
ERAF 协议的 Python 接入 SDK,统一提供身份与凭据自动安装、轮换恢复、Edge 请求验签、实时鉴权及运行状态诊断,简化服务的 External API 接入。
本版为 0.1.0a2(Alpha 预发布),供隔离验证与下游接入评估;不代表生产接线已完成。最低 Python 3.7,完整文件安装仅面向 Windows/Linux;macOS 未支持。纯 Python wheel 标签不代表所有平台安装语义可用。
pip install "eraflow[flask]==0.1.0a2"
# FastAPI 宿主可改用 eraflow[fastapi]==0.1.0a2
from eraflow import Provider, ProviderOperation, prepare_external_target
from eraflow.flask import install_provider
# service_root、静态身份、UAC 配置与安全回调由宿主明确提供。
可选框架适配:eraflow[flask]、eraflow[fastapi]。0.1.0a2 新增 FastAPI 支持;接入及必需的 wrap(app) 边界见源码仓 docs/fastapi.md。
核心不隐式导入 Flask/FastAPI,不在导入时启动任务或联网。管理员保护、真实 socket/原始请求事实、共享防重放、领域授权及写操作最终复核均须由宿主接线。
源码来自固定 CommonLib 提交,保留材料协议和 data/.cache 布局。参见源码仓 docs/README.md 的接入、迁移、验证和发布说明。采用 MIT License,见 LICENSE;来源及依赖声明见 NOTICE。
Metadata
Release files for eraflow 0.1.0a2
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 |
|---|---|---|---|---|
| eraflow-0.1.0a2.tar.gz | 125.4 kB | Without provenance | Details for eraflow-0.1.0a2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eraflow-0.1.0a2-py3-none-any.whl | Python 3 | none | any | Details for eraflow-0.1.0a2-py3-none-any.whl |
Total release size: 255.4 kB
Release files / eraflow-0.1.0a2.tar.gz
| Download URL | eraflow-0.1.0a2.tar.gz |
|---|---|
| Size | 125.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e41ec1d24db964771747d807c02ee4300934ce34c0850fc3ac0798283af547f
|
|
BLAKE2b-256 checksum How to use checksums |
f8af08a4b0c5dd955ba8a4f007a7fcee2f843f06fc321eb1b7f6767656ef9b03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / eraflow-0.1.0a2-py3-none-any.whl
| Download URL | eraflow-0.1.0a2-py3-none-any.whl |
|---|---|
| Size | 130.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
56f25e370a1f9a8f6e4e7a7b06995c616cbafb46a39d58b1ca0ddb12e0bf2aea
|
|
BLAKE2b-256 checksum How to use checksums |
1b942e9b77ac192de7ee240ff7f580ef9472f493d23fde9a20ea789c2d58f017
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for eraflow 0.1.0a2
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.