ngpt 2.16.6__tar.gz → 2.16.7__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-2.16.6 → ngpt-2.16.7}/PKG-INFO +11 -11
- {ngpt-2.16.6 → ngpt-2.16.7}/README.md +10 -10
- {ngpt-2.16.6 → ngpt-2.16.7}/pyproject.toml +1 -1
- {ngpt-2.16.6 → ngpt-2.16.7}/uv.lock +1 -1
- ngpt-2.16.7/wiki.md +99 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/.github/workflows/python-publish.yml +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/.gitignore +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/.python-version +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/COMMIT_GUIDELINES.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/CONTRIBUTING.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/LICENSE +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/CONTRIBUTING.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/LICENSE.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/README.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/_config.yml +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/api/README.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/api/cli.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/api/cli_config.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/api/client.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/api/config.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/api/logging.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/assets/css/style.scss +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/configuration.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/examples/README.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/examples/advanced.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/examples/basic.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/examples/cli_components.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/examples/integrations.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/installation.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/overview.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/usage/README.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/usage/cli_config.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/usage/cli_framework.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/usage/cli_usage.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/usage/gitcommsg.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/docs/usage/library_usage.md +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/__init__.py +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/__main__.py +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/__init__.py +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/args.py +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/config_manager.py +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/formatters.py +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/interactive.py +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/main.py +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/modes/__init__.py +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/modes/chat.py +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/modes/code.py +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/modes/gitcommsg.py +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/modes/rewrite.py +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/modes/shell.py +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/modes/text.py +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/renderers.py +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/ui.py +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/client.py +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/utils/__init__.py +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/utils/cli_config.py +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/utils/config.py +0 -0
- {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/utils/log.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ngpt
|
3
|
-
Version: 2.16.
|
3
|
+
Version: 2.16.7
|
4
4
|
Summary: Swiss army knife for LLMs: powerful CLI, interactive chatbot, and flexible Python library. Works with OpenAI, Ollama, Groq, Claude, and any OpenAI-compatible API.
|
5
5
|
Project-URL: Homepage, https://github.com/nazdridoy/ngpt
|
6
6
|
Project-URL: Repository, https://github.com/nazdridoy/ngpt
|
@@ -40,9 +40,12 @@ Description-Content-Type: text/markdown
|
|
40
40
|
|
41
41
|
[](https://pypi.org/project/ngpt/)
|
42
42
|
[](https://opensource.org/licenses/MIT)
|
43
|
-
[](https://pypi.org/project/ngpt/)
|
44
43
|
[](https://nazdridoy.github.io/ngpt/)
|
45
|
-
|
44
|
+
[](https://nazdridoy.github.io/ngpt/installation.html)
|
45
|
+
[](https://nazdridoy.github.io/ngpt/installation.html)
|
46
|
+
[](https://nazdridoy.github.io/ngpt/installation.html)
|
47
|
+
[](https://nazdridoy.github.io/ngpt/installation.html)
|
48
|
+
[](https://pypi.org/project/ngpt/)
|
46
49
|
|
47
50
|

|
48
51
|
|
@@ -243,21 +246,18 @@ ngpt --interactive --log conversation.log
|
|
243
246
|
# Use custom system prompt to guide AI behavior
|
244
247
|
ngpt --preprompt "You are a Python programming tutor" "Explain decorators"
|
245
248
|
|
246
|
-
# Show
|
247
|
-
ngpt -v
|
248
|
-
|
249
|
-
# Show active configuration
|
250
|
-
ngpt --show-config
|
251
|
-
|
252
|
-
# Show all configurations
|
249
|
+
# Show all API configurations
|
253
250
|
ngpt --show-config --all
|
254
251
|
|
255
252
|
# List available models for the active configuration
|
256
253
|
ngpt --list-models
|
257
254
|
|
258
|
-
# List models for a specific configuration
|
255
|
+
# List models for a specific configuration (index)
|
259
256
|
ngpt --list-models --config-index 1
|
260
257
|
|
258
|
+
# List models for a specific configuration (provider)
|
259
|
+
ngpt --list-models --provider Gemini
|
260
|
+
|
261
261
|
# With custom options
|
262
262
|
ngpt --api-key your-key --base-url http://your-endpoint --model your-model "Hello"
|
263
263
|
|
@@ -4,9 +4,12 @@
|
|
4
4
|
|
5
5
|
[](https://pypi.org/project/ngpt/)
|
6
6
|
[](https://opensource.org/licenses/MIT)
|
7
|
-
[](https://pypi.org/project/ngpt/)
|
8
7
|
[](https://nazdridoy.github.io/ngpt/)
|
9
|
-
|
8
|
+
[](https://nazdridoy.github.io/ngpt/installation.html)
|
9
|
+
[](https://nazdridoy.github.io/ngpt/installation.html)
|
10
|
+
[](https://nazdridoy.github.io/ngpt/installation.html)
|
11
|
+
[](https://nazdridoy.github.io/ngpt/installation.html)
|
12
|
+
[](https://pypi.org/project/ngpt/)
|
10
13
|
|
11
14
|

|
12
15
|
|
@@ -207,21 +210,18 @@ ngpt --interactive --log conversation.log
|
|
207
210
|
# Use custom system prompt to guide AI behavior
|
208
211
|
ngpt --preprompt "You are a Python programming tutor" "Explain decorators"
|
209
212
|
|
210
|
-
# Show
|
211
|
-
ngpt -v
|
212
|
-
|
213
|
-
# Show active configuration
|
214
|
-
ngpt --show-config
|
215
|
-
|
216
|
-
# Show all configurations
|
213
|
+
# Show all API configurations
|
217
214
|
ngpt --show-config --all
|
218
215
|
|
219
216
|
# List available models for the active configuration
|
220
217
|
ngpt --list-models
|
221
218
|
|
222
|
-
# List models for a specific configuration
|
219
|
+
# List models for a specific configuration (index)
|
223
220
|
ngpt --list-models --config-index 1
|
224
221
|
|
222
|
+
# List models for a specific configuration (provider)
|
223
|
+
ngpt --list-models --provider Gemini
|
224
|
+
|
225
225
|
# With custom options
|
226
226
|
ngpt --api-key your-key --base-url http://your-endpoint --model your-model "Hello"
|
227
227
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "ngpt"
|
3
|
-
version = "2.16.
|
3
|
+
version = "2.16.7"
|
4
4
|
description = "Swiss army knife for LLMs: powerful CLI, interactive chatbot, and flexible Python library. Works with OpenAI, Ollama, Groq, Claude, and any OpenAI-compatible API."
|
5
5
|
authors = [
|
6
6
|
{name = "nazDridoy", email = "nazdridoy399@gmail.com"},
|
ngpt-2.16.7/wiki.md
ADDED
@@ -0,0 +1,99 @@
|
|
1
|
+
# nGPT Wiki
|
2
|
+
|
3
|
+
nGPT, a Swiss army knife for LLMs: a powerful CLI, interactive chatbot, and flexible library all in one package.
|
4
|
+
|
5
|
+
<div align="center" style="margin: 40px 0">
|
6
|
+
<a href="https://nazdridoy.github.io/ngpt/" style="display: inline-block; text-decoration: none;">
|
7
|
+
<div style="
|
8
|
+
background-color: #4CAF50;
|
9
|
+
color: white;
|
10
|
+
padding: 20px 40px;
|
11
|
+
font-size: 24px;
|
12
|
+
font-weight: bold;
|
13
|
+
border-radius: 12px;
|
14
|
+
box-shadow: 0 8px 16px rgba(0,0,0,0.2);
|
15
|
+
transition: all 0.3s ease;
|
16
|
+
cursor: pointer;
|
17
|
+
margin: 20px auto;
|
18
|
+
width: 80%;
|
19
|
+
max-width: 500px;
|
20
|
+
text-align: center;
|
21
|
+
">
|
22
|
+
📚 View Complete Documentation 📚
|
23
|
+
</div>
|
24
|
+
</a>
|
25
|
+
</div>
|
26
|
+
|
27
|
+
## About nGPT
|
28
|
+
|
29
|
+
nGPT allows you to seamlessly work with OpenAI, Ollama, Groq, Claude, or any OpenAI-compatible API to:
|
30
|
+
- Generate code
|
31
|
+
- Craft git commit messages
|
32
|
+
- Rewrite and improve text
|
33
|
+
- Execute shell commands
|
34
|
+
- Chat interactively with powerful LLMs
|
35
|
+
|
36
|
+
It's fast, lightweight, and designed for both casual users and developers.
|
37
|
+
|
38
|
+
## Documentation Highlights
|
39
|
+
|
40
|
+
Our comprehensive documentation includes:
|
41
|
+
|
42
|
+
- [Installation Guide](https://nazdridoy.github.io/ngpt/installation.html) - Quick setup on Linux, Windows, macOS, and Android (Termux)
|
43
|
+
- [CLI Usage Guide](https://nazdridoy.github.io/ngpt/usage/cli_usage.html) - Command-line tips and tricks
|
44
|
+
- [Library Integration](https://nazdridoy.github.io/ngpt/usage/library_usage.html) - Using nGPT in your Python projects
|
45
|
+
- [Configuration Guide](https://nazdridoy.github.io/ngpt/configuration.html) - Setting up API keys and preferences
|
46
|
+
- [Examples & Tutorials](https://nazdridoy.github.io/ngpt/examples/basic.html) - Practical examples to get started
|
47
|
+
|
48
|
+
## Quick Start
|
49
|
+
|
50
|
+
```bash
|
51
|
+
# Install with pip
|
52
|
+
pip install ngpt
|
53
|
+
|
54
|
+
# Or install with uv (faster)
|
55
|
+
uv pip install ngpt
|
56
|
+
|
57
|
+
# Start chatting
|
58
|
+
ngpt "Tell me about quantum computing"
|
59
|
+
|
60
|
+
# Start an interactive session
|
61
|
+
ngpt -i
|
62
|
+
```
|
63
|
+
|
64
|
+
<div align="center" style="margin: 40px 0">
|
65
|
+
<a href="https://nazdridoy.github.io/ngpt/" style="display: inline-block; text-decoration: none;">
|
66
|
+
<div style="
|
67
|
+
background-color: #4CAF50;
|
68
|
+
color: white;
|
69
|
+
padding: 15px 30px;
|
70
|
+
font-size: 20px;
|
71
|
+
font-weight: bold;
|
72
|
+
border-radius: 8px;
|
73
|
+
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
|
74
|
+
transition: all 0.3s ease;
|
75
|
+
cursor: pointer;
|
76
|
+
margin: 20px auto;
|
77
|
+
width: 60%;
|
78
|
+
max-width: 400px;
|
79
|
+
text-align: center;
|
80
|
+
">
|
81
|
+
Explore Full Documentation →
|
82
|
+
</div>
|
83
|
+
</a>
|
84
|
+
</div>
|
85
|
+
|
86
|
+
---
|
87
|
+
|
88
|
+
<p align="center">
|
89
|
+
<a href="https://pypi.org/project/ngpt/"><img src="https://img.shields.io/pypi/v/ngpt.svg" alt="PyPI version"></a>
|
90
|
+
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a>
|
91
|
+
<a href="https://nazdridoy.github.io/ngpt/"><img src="https://img.shields.io/badge/docs-available-brightgreen.svg" alt="Documentation"></a>
|
92
|
+
</p>
|
93
|
+
|
94
|
+
<p align="center">
|
95
|
+
<a href="https://nazdridoy.github.io/ngpt/installation.html"><img src="https://img.shields.io/badge/Linux-support-blue?logo=linux" alt="Linux"></a>
|
96
|
+
<a href="https://nazdridoy.github.io/ngpt/installation.html"><img src="https://img.shields.io/badge/Windows-support-blue?logo=windows" alt="Windows"></a>
|
97
|
+
<a href="https://nazdridoy.github.io/ngpt/installation.html"><img src="https://img.shields.io/badge/macOS-support-blue?logo=apple" alt="macOS"></a>
|
98
|
+
<a href="https://nazdridoy.github.io/ngpt/installation.html"><img src="https://img.shields.io/badge/Android-Termux-blue?logo=android" alt="Android"></a>
|
99
|
+
</p>
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|