qopai 0.1.11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- qopai-0.1.11/PKG-INFO +46 -0
- qopai-0.1.11/README.md +33 -0
- qopai-0.1.11/pyproject.toml +21 -0
- qopai-0.1.11/setup.cfg +4 -0
- qopai-0.1.11/src/ai_hub_cli/__init__.py +5 -0
- qopai-0.1.11/src/ai_hub_cli/__main__.py +4 -0
- qopai-0.1.11/src/ai_hub_cli/api.py +1928 -0
- qopai-0.1.11/src/ai_hub_cli/bundled_skills/datahub-cli/SKILL.md +56 -0
- qopai-0.1.11/src/ai_hub_cli/bundled_skills/datahub-cli/references/approval.md +30 -0
- qopai-0.1.11/src/ai_hub_cli/bundled_skills/datahub-cli/references/auth.md +20 -0
- qopai-0.1.11/src/ai_hub_cli/bundled_skills/datahub-cli/references/chat.md +26 -0
- qopai-0.1.11/src/ai_hub_cli/bundled_skills/datahub-cli/references/config.md +14 -0
- qopai-0.1.11/src/ai_hub_cli/bundled_skills/datahub-cli/references/dataset.md +74 -0
- qopai-0.1.11/src/ai_hub_cli/bundled_skills/datahub-cli/references/download.md +35 -0
- qopai-0.1.11/src/ai_hub_cli/bundled_skills/datahub-cli/references/file.md +15 -0
- qopai-0.1.11/src/ai_hub_cli/bundled_skills/datahub-cli/references/message.md +61 -0
- qopai-0.1.11/src/ai_hub_cli/bundled_skills/datahub-cli/references/model.md +44 -0
- qopai-0.1.11/src/ai_hub_cli/bundled_skills/datahub-cli/references/organization.md +32 -0
- qopai-0.1.11/src/ai_hub_cli/bundled_skills/datahub-cli/references/search.md +43 -0
- qopai-0.1.11/src/ai_hub_cli/bundled_skills/datahub-cli/references/skill.md +63 -0
- qopai-0.1.11/src/ai_hub_cli/bundled_skills/datahub-cli/references/upgrade.md +8 -0
- qopai-0.1.11/src/ai_hub_cli/bundled_skills/datahub-cli/references/version.md +8 -0
- qopai-0.1.11/src/ai_hub_cli/client.py +415 -0
- qopai-0.1.11/src/ai_hub_cli/config.py +183 -0
- qopai-0.1.11/src/ai_hub_cli/credentials.py +64 -0
- qopai-0.1.11/src/ai_hub_cli/errors.py +29 -0
- qopai-0.1.11/src/ai_hub_cli/i18n.py +33 -0
- qopai-0.1.11/src/ai_hub_cli/locales/en-US.json +173 -0
- qopai-0.1.11/src/ai_hub_cli/locales/zh-CN.json +173 -0
- qopai-0.1.11/src/ai_hub_cli/main.py +1717 -0
- qopai-0.1.11/src/ai_hub_cli/model_commands.py +317 -0
- qopai-0.1.11/src/ai_hub_cli/output.py +122 -0
- qopai-0.1.11/src/ai_hub_cli/policy.py +107 -0
- qopai-0.1.11/src/ai_hub_cli/repository_clone.py +78 -0
- qopai-0.1.11/src/ai_hub_cli/repository_upload.py +155 -0
- qopai-0.1.11/src/ai_hub_cli/s3_upload.py +207 -0
- qopai-0.1.11/src/ai_hub_cli/skills.py +96 -0
- qopai-0.1.11/src/ai_hub_cli/updates.py +256 -0
- qopai-0.1.11/src/ai_hub_cli/upgrade.py +15 -0
- qopai-0.1.11/src/qopai.egg-info/PKG-INFO +46 -0
- qopai-0.1.11/src/qopai.egg-info/SOURCES.txt +49 -0
- qopai-0.1.11/src/qopai.egg-info/dependency_links.txt +1 -0
- qopai-0.1.11/src/qopai.egg-info/entry_points.txt +2 -0
- qopai-0.1.11/src/qopai.egg-info/requires.txt +7 -0
- qopai-0.1.11/src/qopai.egg-info/top_level.txt +2 -0
- qopai-0.1.11/src/qopai_suite/README.md +33 -0
- qopai-0.1.11/src/qopai_suite/__init__.py +1 -0
- qopai-0.1.11/src/qopai_suite/_release_entry.py +20 -0
- qopai-0.1.11/src/qopai_suite/_release_runtime.py +224 -0
- qopai-0.1.11/src/qopai_suite/build-info.json +62 -0
- qopai-0.1.11/src/qopai_suite/main.py +22 -0
qopai-0.1.11/PKG-INFO
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: qopai
|
|
3
|
+
Version: 0.1.11
|
|
4
|
+
Requires-Python: <3.12,>=3.11
|
|
5
|
+
Description-Content-Type: text/markdown
|
|
6
|
+
Requires-Dist: packaging<27,>=25
|
|
7
|
+
Requires-Dist: httpx<1,>=0.28.1
|
|
8
|
+
Requires-Dist: certifi>=2026.10.19
|
|
9
|
+
Requires-Dist: keyring<26,>=25.6
|
|
10
|
+
Requires-Dist: platformdirs<5,>=4.3
|
|
11
|
+
Requires-Dist: rich<15,>=14.1
|
|
12
|
+
Requires-Dist: typer<1,>=0.16
|
|
13
|
+
|
|
14
|
+
# qopai 0.1.11 / 安装与使用
|
|
15
|
+
|
|
16
|
+
## 中文
|
|
17
|
+
Python >=3.11,<3.12;运行依赖由 pip 从配置包源解析,不是离线依赖包。
|
|
18
|
+
生产发行名 qopai,开发发行名 qopai-dev,组件 DataHub 保持原生版本。
|
|
19
|
+
按本次人工补充,两版均使用 qopai 命令;同一 Python 环境二选一,不支持并存。
|
|
20
|
+
开发入口改名为 qopai-dev 由管理侧交付后自行完成,不属本次构建与验收范围。
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
python -m pip install ./qopai-0.1.11-py3-none-any.whl
|
|
24
|
+
python -m pip check
|
|
25
|
+
qopai --help
|
|
26
|
+
qopai datahub --help
|
|
27
|
+
```
|
|
28
|
+
开发版另建环境,安装 qopai_dev-0.1.11-py3-none-any.whl,命令仍为 qopai。
|
|
29
|
+
升级使用同一解释器 python -m pip install --upgrade <本次选定的新wheel路径>,不自动安装。
|
|
30
|
+
套件 --check-update 仅检查自身发行名,默认 https://pypi.org/simple/;可用 QOPAI_UPDATE_SOURCE 指定匿名 PEP503/691 源;未发布包不可被索引发现。
|
|
31
|
+
平台业务与 auth/config 一律在 qopai datahub 下;保留 DATAHUB_*、qdatahub 配置目录、datahub-cli/quectel-datahub-cli 密钥环身份,不读取套件级凭据。
|
|
32
|
+
组件 version show 显示组件版本;version check/upgrade 仍取组件 Web /cli-release,upgrade 仅给手动指引,不升级本套件。
|
|
33
|
+
Skill 查看与引用使用 qopai datahub skill;安装必须显式 --destination 指向获准目录,不在验收中写个人智能体目录。
|
|
34
|
+
错误/输出保持原生;套件未知 alias 返回2,诊断在 stderr。
|
|
35
|
+
|
|
36
|
+
## English
|
|
37
|
+
Requires Python >=3.11,<3.12. pip resolves third-party dependencies from its configured index; this is not an offline wheelhouse.
|
|
38
|
+
Production distribution qopai and development distribution qopai-dev are alternatives in one environment.
|
|
39
|
+
The current retry amendment explicitly accepts qopai for both commands. A later management-side rename to qopai-dev is outside this build and acceptance scope.
|
|
40
|
+
Install the selected local wheel using python -m pip install ./qopai-0.1.11-py3-none-any.whl (production), or ./qopai_dev-0.1.11-py3-none-any.whl (development) in a separate environment, then python -m pip check, qopai --help and qopai datahub --help.
|
|
41
|
+
Upgrade explicitly using the same interpreter: python -m pip install --upgrade <selected-new-wheel-path>.
|
|
42
|
+
Suite --check-update checks its own distribution only, using https://pypi.org/simple/ by default or QOPAI_UPDATE_SOURCE for an anonymous PEP503/691 index. Unpublished releases are not discoverable. It never automatically installs anything.
|
|
43
|
+
Native component version/check/upgrade remain independent and use the DataHub Web release endpoint; manual standalone instructions do not upgrade this suite.
|
|
44
|
+
Keep platform auth/config under the datahub alias. DATAHUB_* variables, qdatahub directories and native keyring service identities remain unchanged. No suite-global fallback credentials.
|
|
45
|
+
Use explicit authorized destinations for Skill installation; do not write personal agent directories in verification.
|
|
46
|
+
Native streams, errors and exit codes remain unchanged. Unknown suite aliases return 2 on stderr.
|
qopai-0.1.11/README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# qopai 0.1.11 / 安装与使用
|
|
2
|
+
|
|
3
|
+
## 中文
|
|
4
|
+
Python >=3.11,<3.12;运行依赖由 pip 从配置包源解析,不是离线依赖包。
|
|
5
|
+
生产发行名 qopai,开发发行名 qopai-dev,组件 DataHub 保持原生版本。
|
|
6
|
+
按本次人工补充,两版均使用 qopai 命令;同一 Python 环境二选一,不支持并存。
|
|
7
|
+
开发入口改名为 qopai-dev 由管理侧交付后自行完成,不属本次构建与验收范围。
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
python -m pip install ./qopai-0.1.11-py3-none-any.whl
|
|
11
|
+
python -m pip check
|
|
12
|
+
qopai --help
|
|
13
|
+
qopai datahub --help
|
|
14
|
+
```
|
|
15
|
+
开发版另建环境,安装 qopai_dev-0.1.11-py3-none-any.whl,命令仍为 qopai。
|
|
16
|
+
升级使用同一解释器 python -m pip install --upgrade <本次选定的新wheel路径>,不自动安装。
|
|
17
|
+
套件 --check-update 仅检查自身发行名,默认 https://pypi.org/simple/;可用 QOPAI_UPDATE_SOURCE 指定匿名 PEP503/691 源;未发布包不可被索引发现。
|
|
18
|
+
平台业务与 auth/config 一律在 qopai datahub 下;保留 DATAHUB_*、qdatahub 配置目录、datahub-cli/quectel-datahub-cli 密钥环身份,不读取套件级凭据。
|
|
19
|
+
组件 version show 显示组件版本;version check/upgrade 仍取组件 Web /cli-release,upgrade 仅给手动指引,不升级本套件。
|
|
20
|
+
Skill 查看与引用使用 qopai datahub skill;安装必须显式 --destination 指向获准目录,不在验收中写个人智能体目录。
|
|
21
|
+
错误/输出保持原生;套件未知 alias 返回2,诊断在 stderr。
|
|
22
|
+
|
|
23
|
+
## English
|
|
24
|
+
Requires Python >=3.11,<3.12. pip resolves third-party dependencies from its configured index; this is not an offline wheelhouse.
|
|
25
|
+
Production distribution qopai and development distribution qopai-dev are alternatives in one environment.
|
|
26
|
+
The current retry amendment explicitly accepts qopai for both commands. A later management-side rename to qopai-dev is outside this build and acceptance scope.
|
|
27
|
+
Install the selected local wheel using python -m pip install ./qopai-0.1.11-py3-none-any.whl (production), or ./qopai_dev-0.1.11-py3-none-any.whl (development) in a separate environment, then python -m pip check, qopai --help and qopai datahub --help.
|
|
28
|
+
Upgrade explicitly using the same interpreter: python -m pip install --upgrade <selected-new-wheel-path>.
|
|
29
|
+
Suite --check-update checks its own distribution only, using https://pypi.org/simple/ by default or QOPAI_UPDATE_SOURCE for an anonymous PEP503/691 index. Unpublished releases are not discoverable. It never automatically installs anything.
|
|
30
|
+
Native component version/check/upgrade remain independent and use the DataHub Web release endpoint; manual standalone instructions do not upgrade this suite.
|
|
31
|
+
Keep platform auth/config under the datahub alias. DATAHUB_* variables, qdatahub directories and native keyring service identities remain unchanged. No suite-global fallback credentials.
|
|
32
|
+
Use explicit authorized destinations for Skill installation; do not write personal agent directories in verification.
|
|
33
|
+
Native streams, errors and exit codes remain unchanged. Unknown suite aliases return 2 on stderr.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=75", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "qopai"
|
|
7
|
+
version = "0.1.11"
|
|
8
|
+
requires-python = ">=3.11,<3.12"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
dependencies = ["packaging>=25,<27", "httpx>=0.28.1,<1", "certifi>=2026.10.19", "keyring>=25.6,<26", "platformdirs>=4.3,<5", "rich>=14.1,<15", "typer>=0.16,<1"]
|
|
11
|
+
|
|
12
|
+
[project.scripts]
|
|
13
|
+
"qopai" = "qopai_suite._release_entry:main"
|
|
14
|
+
|
|
15
|
+
[tool.setuptools.packages.find]
|
|
16
|
+
where = ["src"]
|
|
17
|
+
include = ["qopai_suite*", "ai_hub_cli*"]
|
|
18
|
+
|
|
19
|
+
[tool.setuptools.package-data]
|
|
20
|
+
ai_hub_cli = ["locales/*.json", "bundled_skills/**/*.md"]
|
|
21
|
+
qopai_suite = ["*.json", "*.md"]
|
qopai-0.1.11/setup.cfg
ADDED