nao-core 0.0.1__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,19 @@
1
+ # Compiled server binary and frontend assets
2
+ nao_core/bin/
3
+
4
+ # Python cache
5
+ __pycache__/
6
+ *.py[cod]
7
+ *$py.class
8
+ *.so
9
+
10
+ # Distribution / packaging
11
+ dist/
12
+ build/
13
+ *.egg-info/
14
+ *.egg
15
+
16
+ # Virtual environments
17
+ .venv/
18
+ venv/
19
+
nao_core-0.0.1/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 nao Labs
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.
22
+
@@ -0,0 +1,93 @@
1
+ Metadata-Version: 2.4
2
+ Name: nao-core
3
+ Version: 0.0.1
4
+ Summary: nao Core is your analytics context builder with the best chat interface.
5
+ Project-URL: Homepage, https://github.com/naolabs/chat
6
+ Project-URL: Repository, https://github.com/naolabs/chat
7
+ Author: nao Labs
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Keywords: ai,analytics,chat
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Environment :: Console
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Classifier: Operating System :: MacOS
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Requires-Python: >=3.10
22
+ Requires-Dist: cyclopts>=4.4.4
23
+ Requires-Dist: pydantic>=2.10.0
24
+ Requires-Dist: pyyaml>=6.0.0
25
+ Requires-Dist: rich>=14.0.0
26
+ Description-Content-Type: text/markdown
27
+
28
+ # nao CLI
29
+
30
+ Command-line interface for nao chat.
31
+
32
+ ## Installation
33
+
34
+ ```bash
35
+ pip install nao-core
36
+ ```
37
+
38
+ ## Usage
39
+
40
+ ### Start the chat interface
41
+
42
+ ```bash
43
+ nao chat
44
+ ```
45
+
46
+ This will start the nao chat server and open the web interface in your browser at `http://localhost:5005`.
47
+
48
+ ## Development
49
+
50
+ ### Building the package
51
+
52
+ ```bash
53
+ cd cli
54
+ python build.py
55
+ ```
56
+
57
+ This will:
58
+ 1. Build the frontend with Vite
59
+ 2. Compile the backend with Bun into a standalone binary
60
+ 3. Bundle everything into a Python wheel in `dist/`
61
+
62
+ Options:
63
+ - `--force` / `-f`: Force rebuild the server binary
64
+ - `--skip-server`: Skip server build, only build Python package
65
+
66
+ ### Installing for development
67
+
68
+ ```bash
69
+ cd cli
70
+ pip install -e .
71
+ ```
72
+
73
+ ### Publishing to PyPI
74
+
75
+ ```bash
76
+ # Build first
77
+ python build.py
78
+
79
+ # Publish
80
+ uv publish dist/*
81
+ ```
82
+
83
+ ## Architecture
84
+
85
+ ```
86
+ nao chat (CLI command)
87
+ ↓ spawns
88
+ nao-chat-server (Bun-compiled binary)
89
+ ↓ serves
90
+ Backend API + Frontend Static Files
91
+
92
+ Browser at http://localhost:5005
93
+ ```
@@ -0,0 +1,66 @@
1
+ # nao CLI
2
+
3
+ Command-line interface for nao chat.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install nao-core
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ### Start the chat interface
14
+
15
+ ```bash
16
+ nao chat
17
+ ```
18
+
19
+ This will start the nao chat server and open the web interface in your browser at `http://localhost:5005`.
20
+
21
+ ## Development
22
+
23
+ ### Building the package
24
+
25
+ ```bash
26
+ cd cli
27
+ python build.py
28
+ ```
29
+
30
+ This will:
31
+ 1. Build the frontend with Vite
32
+ 2. Compile the backend with Bun into a standalone binary
33
+ 3. Bundle everything into a Python wheel in `dist/`
34
+
35
+ Options:
36
+ - `--force` / `-f`: Force rebuild the server binary
37
+ - `--skip-server`: Skip server build, only build Python package
38
+
39
+ ### Installing for development
40
+
41
+ ```bash
42
+ cd cli
43
+ pip install -e .
44
+ ```
45
+
46
+ ### Publishing to PyPI
47
+
48
+ ```bash
49
+ # Build first
50
+ python build.py
51
+
52
+ # Publish
53
+ uv publish dist/*
54
+ ```
55
+
56
+ ## Architecture
57
+
58
+ ```
59
+ nao chat (CLI command)
60
+ ↓ spawns
61
+ nao-chat-server (Bun-compiled binary)
62
+ ↓ serves
63
+ Backend API + Frontend Static Files
64
+
65
+ Browser at http://localhost:5005
66
+ ```