nini-protocol 0.1.0__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.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Nini contributors
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,36 @@
1
+ Metadata-Version: 2.5
2
+ Name: nini-protocol
3
+ Version: 0.1.0
4
+ Summary: Nini wire protocol models (single source of truth)
5
+ Project-URL: Homepage, https://nini.flygpt.cc
6
+ Project-URL: Repository, https://github.com/xusai2014/Nini
7
+ Author-email: Jerry xu <xusai@presence.email>
8
+ License: MIT
9
+ License-File: LICENSE
10
+ Classifier: Environment :: Console
11
+ Classifier: License :: OSI Approved :: MIT License
12
+ Classifier: Operating System :: OS Independent
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Requires-Python: >=3.12
15
+ Requires-Dist: pydantic-settings>=2.6
16
+ Requires-Dist: pydantic>=2.9
17
+ Description-Content-Type: text/markdown
18
+
19
+ # nini-protocol
20
+
21
+ The Nini wire protocol, as pydantic models — the single source of truth for every
22
+ message that crosses the daemon/client/relay boundary (contract v1).
23
+
24
+ ```bash
25
+ pip install nini-protocol
26
+ ```
27
+
28
+ ```python
29
+ from nini_protocol import ... # request/response and stream envelope models
30
+ ```
31
+
32
+ Everything else in the stack depends on this package and nothing here depends on
33
+ the rest, which is what keeps the protocol fenced off from implementation churn.
34
+ A breaking change means a new contract version, not an edit in place.
35
+
36
+ Docs: <https://github.com/xusai2014/Nini> · License: MIT
@@ -0,0 +1,18 @@
1
+ # nini-protocol
2
+
3
+ The Nini wire protocol, as pydantic models — the single source of truth for every
4
+ message that crosses the daemon/client/relay boundary (contract v1).
5
+
6
+ ```bash
7
+ pip install nini-protocol
8
+ ```
9
+
10
+ ```python
11
+ from nini_protocol import ... # request/response and stream envelope models
12
+ ```
13
+
14
+ Everything else in the stack depends on this package and nothing here depends on
15
+ the rest, which is what keeps the protocol fenced off from implementation churn.
16
+ A breaking change means a new contract version, not an edit in place.
17
+
18
+ Docs: <https://github.com/xusai2014/Nini> · License: MIT
@@ -0,0 +1,29 @@
1
+ [project]
2
+ name = "nini-protocol"
3
+ version = "0.1.0"
4
+ description = "Nini wire protocol models (single source of truth)"
5
+ readme = "README.md"
6
+ license = { text = "MIT" }
7
+ authors = [{ name = "Jerry xu", email = "xusai@presence.email" }]
8
+ classifiers = [
9
+ "Programming Language :: Python :: 3.12",
10
+ "License :: OSI Approved :: MIT License",
11
+ "Operating System :: OS Independent",
12
+ "Environment :: Console",
13
+ ]
14
+ requires-python = ">=3.12"
15
+ dependencies = [
16
+ "pydantic>=2.9",
17
+ "pydantic-settings>=2.6",
18
+ ]
19
+
20
+ [project.urls]
21
+ Homepage = "https://nini.flygpt.cc"
22
+ Repository = "https://github.com/xusai2014/Nini"
23
+
24
+ [build-system]
25
+ requires = ["hatchling"]
26
+ build-backend = "hatchling.build"
27
+
28
+ [tool.hatch.build.targets.wheel]
29
+ packages = ["nini_protocol"]