nini-service 0.4.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.
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.5
2
+ Name: nini-service
3
+ Version: 0.4.1
4
+ Summary: Nini daemon: the single source of truth for sessions, events and tools
5
+ Project-URL: Homepage, https://nini.flygpt.cc
6
+ Project-URL: Repository, https://github.com/xusai2014/Nini
7
+ Author-email: Jerry xu <jerryxu521@gmail.com>
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: aiosqlite>=0.20
16
+ Requires-Dist: cryptography>=51.0.0
17
+ Requires-Dist: fastapi>=0.115
18
+ Requires-Dist: nini-adapter==0.4.1
19
+ Requires-Dist: nini-client==0.4.1
20
+ Requires-Dist: nini-core==0.4.1
21
+ Requires-Dist: nini-protocol==0.4.1
22
+ Requires-Dist: uvicorn[standard]>=0.32
23
+ Requires-Dist: watchfiles>=1.0
24
+ Requires-Dist: websockets>=13
25
+ Description-Content-Type: text/markdown
26
+
27
+ # nini-service
28
+
29
+ The Nini daemon: the single source of truth for sessions, messages, events, files
30
+ and PTYs. It exposes the frozen v1 contract over REST + WebSocket and is normally
31
+ started for you by `nini serve`.
32
+
33
+ ```bash
34
+ pip install nini-service
35
+ nini-service --port 4096 # loopback only; prints the token URL
36
+ ```
37
+
38
+ - First start writes `~/.nini/token` (32 random bytes, mode 0600); rotate it by
39
+ rewriting the file — the daemon re-reads it without a restart.
40
+ `/health` is the only unauthenticated route.
41
+ - `--workspace` scopes the file API and PTYs; `--home` moves the state dir.
42
+ - State is sqlite; events replay from any `seq`, so clients reconnect cheaply.
43
+
44
+ Most users install the meta package instead: `pipx install nini` (CLI + daemon).
45
+
46
+ Docs: <https://github.com/xusai2014/Nini> · License: MIT
@@ -0,0 +1,5 @@
1
+ nini_service-0.4.1.dist-info/METADATA,sha256=L5iKVrlAQaRnE7GILXgX9AycNQ9HFEW6WHYdKECcdw4,1719
2
+ nini_service-0.4.1.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
3
+ nini_service-0.4.1.dist-info/entry_points.txt,sha256=dgAoXQStjRa-uqtWvN-GvJhSGOGGcktSud-Lcm8x7H4,60
4
+ nini_service-0.4.1.dist-info/licenses/LICENSE,sha256=5f3sOYhMgYZO4voPIGNBOCJZjTBdIOdZaqSEh8rv8TQ,1074
5
+ nini_service-0.4.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.33.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ nini-service = nini_service.__main__:main
@@ -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.