nanocode-cli 0.1.0__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,81 @@
1
+ Metadata-Version: 2.4
2
+ Name: nanocode-cli
3
+ Version: 0.1.0
4
+ Summary: A lightweight terminal-based AI coding assistant
5
+ Author-email: hit9 <hit9@icloud.com>
6
+ License-Expression: BSD-3-Clause
7
+ Project-URL: Homepage, https://github.com/hit9/nanocode
8
+ Project-URL: Repository, https://github.com/hit9/nanocode
9
+ Project-URL: Issues, https://github.com/hit9/nanocode/issues
10
+ Keywords: ai,coding-assistant,cli,terminal
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Environment :: Console
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Topic :: Software Development
20
+ Classifier: Topic :: Terminals
21
+ Requires-Python: >=3.11
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ Requires-Dist: prompt-toolkit>=3.0
25
+ Requires-Dist: typing-extensions>=4.7
26
+ Provides-Extra: dev
27
+ Requires-Dist: pytest>=8.0; extra == "dev"
28
+ Requires-Dist: ruff>=0.4.0; extra == "dev"
29
+ Dynamic: license-file
30
+
31
+ # nanocode
32
+
33
+
34
+ ## Screenshots
35
+
36
+ | | |
37
+ |---|---|
38
+ | ![Screenshot 1](https://raw.githubusercontent.com/hit9/nanocode/main/snapshots/nanocode-snapshot1.png) | ![Screenshot 2](https://raw.githubusercontent.com/hit9/nanocode/main/snapshots/nanocode-snapshot2.png) |
39
+
40
+ ## Install
41
+
42
+ ```sh
43
+ uv tool install nanocode-cli
44
+ ```
45
+
46
+ For local development:
47
+
48
+ ```sh
49
+ uv sync --extra dev
50
+ uv run nanocode
51
+ ```
52
+
53
+ ## Environment Variables
54
+
55
+ Required:
56
+
57
+ ```sh
58
+ export NANOCODE_API_URL="https://api.example.com/v1/chat/completions"
59
+ export NANOCODE_API_KEY="your-api-key"
60
+ export NANOCODE_MODEL="your-model"
61
+ ```
62
+
63
+ Optional:
64
+
65
+ ```sh
66
+ export NANOCODE_DIR=".nanocode"
67
+ export NANOCODE_TEMPERATURE="0.7"
68
+ export NANOCODE_REASONING="on"
69
+ export NANOCODE_REASONING_EFFORT="medium"
70
+ export NANOCODE_MODEL_TIMEOUT="60"
71
+ export NANOCODE_SHELL_TIMEOUT="60"
72
+ export NANOCODE_COMPACT_AT="100"
73
+ ```
74
+
75
+ ## Safety
76
+
77
+ nanocode does not provide sandbox protection. It can run shell commands and edit files in the environment where you start it.
78
+
79
+ If you do not fully trust the model, tools, prompts, or workspace, run nanocode inside your own sandbox, container, VM, or other isolated environment.
80
+
81
+ Use at your own risk.
@@ -0,0 +1,7 @@
1
+ nanocode.py,sha256=hOOh_nbm5mU-jEwtsiYitFuy9HXjHs9I0AKNlM2F_-k,129381
2
+ nanocode_cli-0.1.0.dist-info/licenses/LICENSE,sha256=7rywcHHyxuMNgAXM1k3r102mS1xAQ_1lhbCQiV87_XU,1487
3
+ nanocode_cli-0.1.0.dist-info/METADATA,sha256=qChbGl3DTIgqju9WCyFZBYb4g93RPstdULVwQq3veZI,2283
4
+ nanocode_cli-0.1.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
5
+ nanocode_cli-0.1.0.dist-info/entry_points.txt,sha256=69W2dtOhDbItvUM4QJ9P-B4dpgmIPrtcoAj99lMc8II,43
6
+ nanocode_cli-0.1.0.dist-info/top_level.txt,sha256=-g5KDxLosSvKGFv26V5ltL2opkD-wHy_T6vRqg4h4-A,9
7
+ nanocode_cli-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ nanocode = nanocode:main
@@ -0,0 +1,28 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2026, hit9
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright notice, this
9
+ list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright notice,
12
+ this list of conditions and the following disclaimer in the documentation
13
+ and/or other materials provided with the distribution.
14
+
15
+ 3. Neither the name of the copyright holder nor the names of its contributors
16
+ may be used to endorse or promote products derived from this software
17
+ without specific prior written permission.
18
+
19
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
+ DAMAGES INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER
26
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27
+ OR TORT INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF
28
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1 @@
1
+ nanocode