dpe-sdk 0.1.5__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.
dpe_sdk/__init__.py ADDED
@@ -0,0 +1,11 @@
1
+ """dpe-sdk:DPE 协议 Python SDK。
2
+
3
+ 依赖 dpe-hash 计算 hash;承载 sans-IO 协议核心、传输适配、增量推送、testing 与 dpe-run(#11–#17)。
4
+ 本模块当前只是工程骨架。
5
+ """
6
+
7
+ from importlib.metadata import version
8
+
9
+ __version__ = version("dpe-sdk")
10
+
11
+ __all__ = ["__version__"]
dpe_sdk/py.typed ADDED
File without changes
@@ -0,0 +1,30 @@
1
+ Metadata-Version: 2.5
2
+ Name: dpe-sdk
3
+ Version: 0.1.5
4
+ Summary: DPE 协议 Python SDK:sans-IO 协议核心、传输适配、增量推送与 dpe-run 运行器
5
+ Project-URL: Homepage, https://github.com/A2C-SMCP/dpe-protocol
6
+ Project-URL: Documentation, https://doc.turingfocus.cn/dpe/
7
+ Project-URL: Repository, https://github.com/A2C-SMCP/dpe-protocol
8
+ Author-email: TuringFocus Team <dev@turingfocus.cn>
9
+ License-Expression: MIT
10
+ License-File: LICENSE
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Classifier: Typing :: Typed
15
+ Requires-Python: >=3.11
16
+ Requires-Dist: dpe-hash==0.1.5
17
+ Requires-Dist: httpx<1,>=0.27
18
+ Requires-Dist: pydantic<3,>=2.7
19
+ Description-Content-Type: text/markdown
20
+
21
+ # dpe-sdk
22
+
23
+ [DPE(Document / Page / Element)协议](https://doc.turingfocus.cn/dpe/)的 Python SDK:把结构化文档正确、增量、可靠地投递到任意 DPE 服务端。
24
+
25
+ - sans-IO 协议核心 + httpx 传输适配(sync / async);
26
+ - 只接受 remote URL 与可插拔的 `CredentialProvider`,不封装任何服务端私有端点;
27
+ - hash 由 [`dpe-hash`](https://pypi.org/project/dpe-hash/) 计算(同版本精确依赖);
28
+ - 规范与源码:<https://github.com/A2C-SMCP/dpe-protocol>。
29
+
30
+ > 当前为工程骨架,功能见 Milestone `python-sdk v0.1.4`。
@@ -0,0 +1,6 @@
1
+ dpe_sdk/__init__.py,sha256=RLb6O271iKvTipdLqOdREjbZY0C4j4SdEma2NADgKiY,309
2
+ dpe_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ dpe_sdk-0.1.5.dist-info/METADATA,sha256=cQNDMXNMDiz2XEPOxQUtqsVwEwVr7of04uDv3ViRmnE,1362
4
+ dpe_sdk-0.1.5.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
5
+ dpe_sdk-0.1.5.dist-info/licenses/LICENSE,sha256=Btii0q5Fii2WG2cLZDoC8vTiQTivU8r8wqBshxgGJfs,1073
6
+ dpe_sdk-0.1.5.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 TuringFocus Team
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.