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.
Files changed (58) hide show
  1. {ngpt-2.16.6 → ngpt-2.16.7}/PKG-INFO +11 -11
  2. {ngpt-2.16.6 → ngpt-2.16.7}/README.md +10 -10
  3. {ngpt-2.16.6 → ngpt-2.16.7}/pyproject.toml +1 -1
  4. {ngpt-2.16.6 → ngpt-2.16.7}/uv.lock +1 -1
  5. ngpt-2.16.7/wiki.md +99 -0
  6. {ngpt-2.16.6 → ngpt-2.16.7}/.github/workflows/python-publish.yml +0 -0
  7. {ngpt-2.16.6 → ngpt-2.16.7}/.gitignore +0 -0
  8. {ngpt-2.16.6 → ngpt-2.16.7}/.python-version +0 -0
  9. {ngpt-2.16.6 → ngpt-2.16.7}/COMMIT_GUIDELINES.md +0 -0
  10. {ngpt-2.16.6 → ngpt-2.16.7}/CONTRIBUTING.md +0 -0
  11. {ngpt-2.16.6 → ngpt-2.16.7}/LICENSE +0 -0
  12. {ngpt-2.16.6 → ngpt-2.16.7}/docs/CONTRIBUTING.md +0 -0
  13. {ngpt-2.16.6 → ngpt-2.16.7}/docs/LICENSE.md +0 -0
  14. {ngpt-2.16.6 → ngpt-2.16.7}/docs/README.md +0 -0
  15. {ngpt-2.16.6 → ngpt-2.16.7}/docs/_config.yml +0 -0
  16. {ngpt-2.16.6 → ngpt-2.16.7}/docs/api/README.md +0 -0
  17. {ngpt-2.16.6 → ngpt-2.16.7}/docs/api/cli.md +0 -0
  18. {ngpt-2.16.6 → ngpt-2.16.7}/docs/api/cli_config.md +0 -0
  19. {ngpt-2.16.6 → ngpt-2.16.7}/docs/api/client.md +0 -0
  20. {ngpt-2.16.6 → ngpt-2.16.7}/docs/api/config.md +0 -0
  21. {ngpt-2.16.6 → ngpt-2.16.7}/docs/api/logging.md +0 -0
  22. {ngpt-2.16.6 → ngpt-2.16.7}/docs/assets/css/style.scss +0 -0
  23. {ngpt-2.16.6 → ngpt-2.16.7}/docs/configuration.md +0 -0
  24. {ngpt-2.16.6 → ngpt-2.16.7}/docs/examples/README.md +0 -0
  25. {ngpt-2.16.6 → ngpt-2.16.7}/docs/examples/advanced.md +0 -0
  26. {ngpt-2.16.6 → ngpt-2.16.7}/docs/examples/basic.md +0 -0
  27. {ngpt-2.16.6 → ngpt-2.16.7}/docs/examples/cli_components.md +0 -0
  28. {ngpt-2.16.6 → ngpt-2.16.7}/docs/examples/integrations.md +0 -0
  29. {ngpt-2.16.6 → ngpt-2.16.7}/docs/installation.md +0 -0
  30. {ngpt-2.16.6 → ngpt-2.16.7}/docs/overview.md +0 -0
  31. {ngpt-2.16.6 → ngpt-2.16.7}/docs/usage/README.md +0 -0
  32. {ngpt-2.16.6 → ngpt-2.16.7}/docs/usage/cli_config.md +0 -0
  33. {ngpt-2.16.6 → ngpt-2.16.7}/docs/usage/cli_framework.md +0 -0
  34. {ngpt-2.16.6 → ngpt-2.16.7}/docs/usage/cli_usage.md +0 -0
  35. {ngpt-2.16.6 → ngpt-2.16.7}/docs/usage/gitcommsg.md +0 -0
  36. {ngpt-2.16.6 → ngpt-2.16.7}/docs/usage/library_usage.md +0 -0
  37. {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/__init__.py +0 -0
  38. {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/__main__.py +0 -0
  39. {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/__init__.py +0 -0
  40. {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/args.py +0 -0
  41. {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/config_manager.py +0 -0
  42. {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/formatters.py +0 -0
  43. {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/interactive.py +0 -0
  44. {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/main.py +0 -0
  45. {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/modes/__init__.py +0 -0
  46. {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/modes/chat.py +0 -0
  47. {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/modes/code.py +0 -0
  48. {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/modes/gitcommsg.py +0 -0
  49. {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/modes/rewrite.py +0 -0
  50. {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/modes/shell.py +0 -0
  51. {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/modes/text.py +0 -0
  52. {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/renderers.py +0 -0
  53. {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/cli/ui.py +0 -0
  54. {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/client.py +0 -0
  55. {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/utils/__init__.py +0 -0
  56. {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/utils/cli_config.py +0 -0
  57. {ngpt-2.16.6 → ngpt-2.16.7}/ngpt/utils/config.py +0 -0
  58. {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.6
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
  [![PyPI version](https://img.shields.io/pypi/v/ngpt.svg)](https://pypi.org/project/ngpt/)
42
42
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
43
- [![Python Versions](https://img.shields.io/pypi/pyversions/ngpt.svg)](https://pypi.org/project/ngpt/)
44
43
  [![Documentation](https://img.shields.io/badge/docs-available-brightgreen.svg)](https://nazdridoy.github.io/ngpt/)
45
-
44
+ [![Linux](https://img.shields.io/badge/Linux-support-blue?logo=linux)](https://nazdridoy.github.io/ngpt/installation.html)
45
+ [![Windows](https://img.shields.io/badge/Windows-support-blue?logo=windows)](https://nazdridoy.github.io/ngpt/installation.html)
46
+ [![macOS](https://img.shields.io/badge/macOS-support-blue?logo=apple)](https://nazdridoy.github.io/ngpt/installation.html)
47
+ [![Android](https://img.shields.io/badge/Android-Termux-blue?logo=android)](https://nazdridoy.github.io/ngpt/installation.html)
48
+ [![Python Versions](https://img.shields.io/pypi/pyversions/ngpt.svg)](https://pypi.org/project/ngpt/)
46
49
 
47
50
  ![2025-04-23_16-18-01](https://github.com/user-attachments/assets/b8e58926-5165-4352-b48b-9f4a982da86e)
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 version information
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
  [![PyPI version](https://img.shields.io/pypi/v/ngpt.svg)](https://pypi.org/project/ngpt/)
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
- [![Python Versions](https://img.shields.io/pypi/pyversions/ngpt.svg)](https://pypi.org/project/ngpt/)
8
7
  [![Documentation](https://img.shields.io/badge/docs-available-brightgreen.svg)](https://nazdridoy.github.io/ngpt/)
9
-
8
+ [![Linux](https://img.shields.io/badge/Linux-support-blue?logo=linux)](https://nazdridoy.github.io/ngpt/installation.html)
9
+ [![Windows](https://img.shields.io/badge/Windows-support-blue?logo=windows)](https://nazdridoy.github.io/ngpt/installation.html)
10
+ [![macOS](https://img.shields.io/badge/macOS-support-blue?logo=apple)](https://nazdridoy.github.io/ngpt/installation.html)
11
+ [![Android](https://img.shields.io/badge/Android-Termux-blue?logo=android)](https://nazdridoy.github.io/ngpt/installation.html)
12
+ [![Python Versions](https://img.shields.io/pypi/pyversions/ngpt.svg)](https://pypi.org/project/ngpt/)
10
13
 
11
14
  ![2025-04-23_16-18-01](https://github.com/user-attachments/assets/b8e58926-5165-4352-b48b-9f4a982da86e)
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 version information
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.6"
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"},
@@ -134,7 +134,7 @@ wheels = [
134
134
 
135
135
  [[package]]
136
136
  name = "ngpt"
137
- version = "2.16.6"
137
+ version = "2.16.7"
138
138
  source = { editable = "." }
139
139
  dependencies = [
140
140
  { name = "prompt-toolkit" },
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