aps-kernel 0.0.1__py3-none-any.whl

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.
aps_kernel/__init__.py ADDED
@@ -0,0 +1,12 @@
1
+ """aps-kernel — Metis 谋序(APS 标准版)求解内核。
2
+
3
+ 运筹帷幄,谋定后动 —— 同衡·谋序·同枢,智造同频。
4
+
5
+ 本包为占位版本(v0.0.1),求解内核开发中。
6
+ 计划提供:CP-SAT 求解器、独立复核器、工序-资源适配数据模型、
7
+ 设备槽位与班次日历、headless CLI。
8
+ """
9
+
10
+ __version__ = "0.0.1"
11
+
12
+ __all__ = ["__version__"]
aps_kernel/py.typed ADDED
File without changes
@@ -0,0 +1,85 @@
1
+ Metadata-Version: 2.4
2
+ Name: aps-kernel
3
+ Version: 0.0.1
4
+ Summary: Metis (谋序) — deterministic CP-SAT scheduling kernel, independent schedule validator, and headless CLI — APS standard edition
5
+ Author: APS Contributors
6
+ License: MIT
7
+ Project-URL: Homepage, https://aps.zhinengti.online
8
+ Project-URL: Documentation, https://github.com/123aiot/aps/tree/main/docs
9
+ Project-URL: Source, https://github.com/123aiot/aps
10
+ Project-URL: Changelog, https://github.com/123aiot/aps/blob/main/CHANGELOG.md
11
+ Keywords: aps,scheduling,production-planning,cpsat,ortools,finite-capacity,manufacturing,metis
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: Intended Audience :: Manufacturing
14
+ Classifier: Intended Audience :: Science/Research
15
+ Classifier: Natural Language :: Chinese (Simplified)
16
+ Classifier: Natural Language :: English
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Topic :: Scientific/Engineering
22
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
23
+ Classifier: License :: OSI Approved :: MIT License
24
+ Requires-Python: >=3.11
25
+ Description-Content-Type: text/markdown
26
+ License-File: LICENSE
27
+ Provides-Extra: solver
28
+ Requires-Dist: ortools>=9.10; extra == "solver"
29
+ Requires-Dist: pydantic>=2.0; extra == "solver"
30
+ Provides-Extra: dev
31
+ Requires-Dist: pytest>=8.0; extra == "dev"
32
+ Requires-Dist: ruff>=0.6; extra == "dev"
33
+ Requires-Dist: mypy>=1.10; extra == "dev"
34
+ Dynamic: license-file
35
+
36
+ # aps-kernel — Metis 谋序(APS 标准版)
37
+
38
+ > **运筹帷幄,谋定后动** —— 同衡·谋序·同枢,智造同频。
39
+
40
+ 可嵌入的**确定性**排产内核:CP-SAT 求解器、**独立复核器**、工序-资源适配数据模型、
41
+ 设备槽位与班次日历、headless CLI。
42
+
43
+ > **标准版 vs 专业版**:本包只含可嵌入内核(无 UI / 无服务 / 无 LLM)。
44
+ > 甘特图前端、Web 控制台、AI 编排层(Copilot)、多租户 RLS、审批与 IM 通道、
45
+ > MRP/物料齐套联动、ATP/CTP 属专业版(Docker 镜像 + docker compose)。
46
+
47
+ > 🌐 官网:https://aps.zhinengti.online
48
+ > 家族产品:Nereus 同衡(数字孪生)· Hermes 同枢(物流调度)
49
+
50
+ ---
51
+
52
+ ## 状态
53
+
54
+ **v0.0.1 — 占位版本,求解内核开发中。**
55
+
56
+ 本版本仅锁定包名与元数据,不含功能。功能版本计划:
57
+
58
+ | 版本 | 内容 |
59
+ |---|---|
60
+ | 0.1.0 | CP-SAT 求解内核 + 独立复核器跑通 |
61
+ | 0.2.0 | 约束 DSL + 设备槽位/排除约束 |
62
+ | 0.3.0 | 班次日历切段 + 甘特数据适配 |
63
+ | 1.0.0 | GA |
64
+
65
+ ## 确定性的机制(为什么可以信)
66
+
67
+ 规划中的确定性保证(与家族 `cps-twin` 的确定性文化一致):
68
+
69
+ - 固定**分钟栅格**驱动,墙钟时间只出现在 `generated_at`,不进入求解结果
70
+ - `seed` 固定 + `interleave_search` ⇒ 同输入同结果
71
+ - `data_snapshot_hash` / `config_version` / `code_version` 进 **provenance**
72
+ - **独立复核器**:不信任求解器自报的加工时长,用输入数据重新核对任务、设备、数量与区间
73
+
74
+ > 求解器只保证「找到可行解」,复核器保证「导出的东西真的可行」。
75
+
76
+ ## 安装(0.1.0 起可用)
77
+
78
+ ```bash
79
+ pip install aps-kernel # 核心
80
+ pip install "aps-kernel[solver]" # 含 ortools + pydantic
81
+ ```
82
+
83
+ ## License
84
+
85
+ MIT
@@ -0,0 +1,7 @@
1
+ aps_kernel/__init__.py,sha256=SphbMCkDS69z8j4aG83tlslV2pv_2GvQanZZJKbxcyU,403
2
+ aps_kernel/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ aps_kernel-0.0.1.dist-info/licenses/LICENSE,sha256=mILHw97t7XbxSfZgAsaAE_ZJxVWWLDLW4n1F6p2KGWY,1064
4
+ aps_kernel-0.0.1.dist-info/METADATA,sha256=96PCXnz2Nru3-oVWZOi684mzsNaRSaXNFB1U9cTSEwc,3463
5
+ aps_kernel-0.0.1.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
6
+ aps_kernel-0.0.1.dist-info/top_level.txt,sha256=91Aa4OwSjBag6_9N_pdmu62YTsRk37qCy6w7mKlAAMc,11
7
+ aps_kernel-0.0.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.0.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 123AIoT
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ aps_kernel