ngpt 3.5.4__tar.gz → 3.5.6__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.
- {ngpt-3.5.4 → ngpt-3.5.6}/PKG-INFO +1 -1
- {ngpt-3.5.4 → ngpt-3.5.6}/docs/index.md +1 -17
- {ngpt-3.5.4 → ngpt-3.5.6}/docs/installation.md +1 -7
- {ngpt-3.5.4 → ngpt-3.5.6}/docs/overview.md +1 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/docs/usage/cli_config.md +2 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/ngpt/cli/args.py +1 -1
- {ngpt-3.5.4 → ngpt-3.5.6}/ngpt/cli/ui.py +0 -4
- {ngpt-3.5.4 → ngpt-3.5.6}/pyproject.toml +1 -1
- {ngpt-3.5.4 → ngpt-3.5.6}/uv.lock +1 -1
- {ngpt-3.5.4 → ngpt-3.5.6}/.github/workflows/aur-publish.yml +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/.github/workflows/python-publish.yml +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/.gitignore +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/.python-version +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/COMMIT_GUIDELINES.md +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/CONTRIBUTING.md +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/LICENSE +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/PKGBUILD +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/README.md +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/docs/CONTRIBUTING.md +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/docs/LICENSE.md +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/docs/_config.yml +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/docs/_sass/custom/custom.scss +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/docs/configuration.md +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/docs/examples/advanced.md +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/docs/examples/basic.md +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/docs/examples.md +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/docs/usage/cli_usage.md +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/docs/usage/gitcommsg.md +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/docs/usage/web_search.md +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/docs/usage.md +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/ngpt/__init__.py +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/ngpt/__main__.py +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/ngpt/cli/__init__.py +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/ngpt/cli/config_manager.py +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/ngpt/cli/formatters.py +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/ngpt/cli/main.py +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/ngpt/cli/modes/__init__.py +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/ngpt/cli/modes/chat.py +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/ngpt/cli/modes/code.py +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/ngpt/cli/modes/gitcommsg.py +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/ngpt/cli/modes/interactive.py +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/ngpt/cli/modes/rewrite.py +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/ngpt/cli/modes/shell.py +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/ngpt/cli/modes/text.py +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/ngpt/cli/renderers.py +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/ngpt/client.py +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/ngpt/utils/__init__.py +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/ngpt/utils/cli_config.py +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/ngpt/utils/config.py +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/ngpt/utils/log.py +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/ngpt/utils/web_search.py +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/previews/ngpt-g.png +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/previews/ngpt-i.png +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/previews/ngpt-s-c.png +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/previews/ngpt-sh-c-a.png +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/previews/ngpt-w-self.png +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/previews/ngpt-w.png +0 -0
- {ngpt-3.5.4 → ngpt-3.5.6}/wiki.md +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ngpt
|
3
|
-
Version: 3.5.
|
3
|
+
Version: 3.5.6
|
4
4
|
Summary: Swiss army knife for LLMs: powerful CLI and interactive chatbot in one package. Seamlessly work with OpenAI, Ollama, Groq, Claude, Gemini, or any OpenAI-compatible API to generate code, craft git commits, rewrite text, and execute shell commands.
|
5
5
|
Project-URL: Homepage, https://github.com/nazdridoy/ngpt
|
6
6
|
Project-URL: Repository, https://github.com/nazdridoy/ngpt
|
@@ -9,22 +9,6 @@ permalink: /
|
|
9
9
|
|
10
10
|
Welcome to the nGPT documentation. This guide will help you get started with nGPT, a Swiss army knife for LLMs that combines a powerful CLI and interactive chatbot in one package.
|
11
11
|
|
12
|
-
## Table of Contents
|
13
|
-
|
14
|
-
- [Overview](overview.md)
|
15
|
-
- [Installation](installation.md)
|
16
|
-
- [Usage](usage/cli_usage.md)
|
17
|
-
- [CLI Usage](usage/cli_usage.md)
|
18
|
-
- [CLI Configuration](usage/cli_config.md)
|
19
|
-
- [Git Commit Messages](usage/gitcommsg.md)
|
20
|
-
- [Web Search](usage/web_search.md)
|
21
|
-
- [Examples](examples/basic.md)
|
22
|
-
- [Basic Examples](examples/basic.md)
|
23
|
-
- [Advanced Examples](examples/advanced.md)
|
24
|
-
- [Configuration](configuration.md)
|
25
|
-
- [Contributing](CONTRIBUTING.md)
|
26
|
-
- [License](LICENSE.md)
|
27
|
-
|
28
12
|
|
29
13
|

|
30
14
|
|
@@ -77,4 +61,4 @@ ngpt --shell "find large files in current directory"
|
|
77
61
|
ngpt --gitcommsg
|
78
62
|
```
|
79
63
|
|
80
|
-
For more examples and detailed instructions,
|
64
|
+
For more examples and detailed instructions, please refer to the side panel for navigation through the documentation sections.
|
@@ -126,18 +126,12 @@ nGPT can be used on Android devices through Termux:
|
|
126
126
|
```bash
|
127
127
|
pkg update && pkg upgrade
|
128
128
|
pkg install python
|
129
|
-
|
129
|
+
pkg install uv
|
130
130
|
```
|
131
131
|
|
132
132
|
Install nGPT using either pip or uv:
|
133
133
|
|
134
134
|
```bash
|
135
|
-
# Using pip
|
136
|
-
pip install ngpt
|
137
|
-
|
138
|
-
# Using uv
|
139
|
-
uv pip install ngpt
|
140
|
-
|
141
135
|
# Install ngpt as a global tool
|
142
136
|
uv tool install ngpt
|
143
137
|
```
|
@@ -69,6 +69,7 @@ ngpt -s "list all files recursively"
|
|
69
69
|
### Text Rewriting Mode
|
70
70
|
Improve the quality of text while preserving tone and meaning:
|
71
71
|
```bash
|
72
|
+
ngpt --rewrite "I want to said that I think yours product is good and I like it Alot."
|
72
73
|
cat text.txt | ngpt --rewrite
|
73
74
|
cat text.txt | ngpt -r
|
74
75
|
```
|
@@ -166,11 +166,13 @@ The CLI configuration system enforces these rules to prevent incompatible combin
|
|
166
166
|
### Mode-Specific Options
|
167
167
|
|
168
168
|
#### Code Generation Mode
|
169
|
+
|
169
170
|
| Option | Type | Default | Description |
|
170
171
|
|--------|------|---------|-------------|
|
171
172
|
| `language` | string | python | Programming language for code generation |
|
172
173
|
|
173
174
|
#### Git Commit Message Mode
|
175
|
+
|
174
176
|
| Option | Type | Default | Description |
|
175
177
|
|--------|------|---------|-------------|
|
176
178
|
| `rec-chunk` | bool | false | Process large diffs in chunks recursively |
|
@@ -10,7 +10,7 @@ def setup_argument_parser():
|
|
10
10
|
description = f"{COLORS['cyan']}{COLORS['bold']}nGPT{COLORS['reset']} - Interact with AI language models via OpenAI-compatible APIs"
|
11
11
|
|
12
12
|
# Minimalist, clean epilog design
|
13
|
-
epilog = f"\n{COLORS['yellow']}nGPT {COLORS['bold']}v{__version__}{COLORS['reset']} • {COLORS['green']}Docs: {COLORS['bold']}https://nazdridoy.github.io/ngpt/usage/cli_usage
|
13
|
+
epilog = f"\n{COLORS['yellow']}nGPT {COLORS['bold']}v{__version__}{COLORS['reset']} • {COLORS['green']}Docs: {COLORS['bold']}https://nazdridoy.github.io/ngpt/usage/cli_usage{COLORS['reset']}"
|
14
14
|
|
15
15
|
parser = argparse.ArgumentParser(description=description, formatter_class=ColoredHelpFormatter, epilog=epilog)
|
16
16
|
|
@@ -117,10 +117,6 @@ def get_multiline_input():
|
|
117
117
|
editor_app, has_editor = create_multiline_editor()
|
118
118
|
|
119
119
|
if has_editor and editor_app:
|
120
|
-
print("\033[94m\033[1m" + "Multi-line Input Mode" + "\033[0m")
|
121
|
-
print("Press Ctrl+D to submit, Ctrl+C to exit")
|
122
|
-
print("Use arrow keys to navigate, Enter for new line")
|
123
|
-
|
124
120
|
try:
|
125
121
|
prompt = editor_app.run()
|
126
122
|
if not prompt or not prompt.strip():
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "ngpt"
|
3
|
-
version = "3.5.
|
3
|
+
version = "3.5.6"
|
4
4
|
description = "Swiss army knife for LLMs: powerful CLI and interactive chatbot in one package. Seamlessly work with OpenAI, Ollama, Groq, Claude, Gemini, or any OpenAI-compatible API to generate code, craft git commits, rewrite text, and execute shell commands."
|
5
5
|
authors = [
|
6
6
|
{name = "nazDridoy", email = "nazdridoy399@gmail.com"},
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|