ngpt 2.16.1__tar.gz → 2.16.3__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.1 → ngpt-2.16.3}/PKG-INFO +5 -5
- {ngpt-2.16.1 → ngpt-2.16.3}/README.md +2 -2
- {ngpt-2.16.1 → ngpt-2.16.3}/docs/README.md +1 -1
- ngpt-2.16.3/docs/_config.yml +7 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/docs/configuration.md +1 -1
- {ngpt-2.16.1 → ngpt-2.16.3}/docs/overview.md +1 -1
- {ngpt-2.16.1 → ngpt-2.16.3}/docs/usage/README.md +1 -1
- {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/modes/rewrite.py +10 -8
- {ngpt-2.16.1 → ngpt-2.16.3}/pyproject.toml +3 -3
- {ngpt-2.16.1 → ngpt-2.16.3}/uv.lock +1 -1
- ngpt-2.16.1/docs/_config.yml +0 -7
- {ngpt-2.16.1 → ngpt-2.16.3}/.github/workflows/python-publish.yml +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/.gitignore +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/.python-version +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/COMMIT_GUIDELINES.md +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/CONTRIBUTING.md +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/LICENSE +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/docs/CONTRIBUTING.md +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/docs/LICENSE.md +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/docs/api/README.md +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/docs/api/cli.md +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/docs/api/cli_config.md +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/docs/api/client.md +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/docs/api/config.md +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/docs/api/logging.md +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/docs/assets/css/style.scss +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/docs/examples/README.md +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/docs/examples/advanced.md +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/docs/examples/basic.md +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/docs/examples/cli_components.md +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/docs/examples/integrations.md +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/docs/installation.md +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/docs/usage/cli_config.md +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/docs/usage/cli_framework.md +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/docs/usage/cli_usage.md +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/docs/usage/gitcommsg.md +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/docs/usage/library_usage.md +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/__init__.py +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/__main__.py +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/__init__.py +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/args.py +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/config_manager.py +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/formatters.py +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/interactive.py +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/main.py +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/modes/__init__.py +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/modes/chat.py +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/modes/code.py +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/modes/gitcommsg.py +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/modes/shell.py +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/modes/text.py +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/renderers.py +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/ui.py +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/client.py +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/utils/__init__.py +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/utils/cli_config.py +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/utils/config.py +0 -0
- {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/utils/log.py +0 -0
@@ -1,14 +1,14 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ngpt
|
3
|
-
Version: 2.16.
|
4
|
-
Summary:
|
3
|
+
Version: 2.16.3
|
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
|
7
7
|
Project-URL: Bug Tracker, https://github.com/nazdridoy/ngpt/issues
|
8
8
|
Author-email: nazDridoy <nazdridoy399@gmail.com>
|
9
9
|
License: MIT
|
10
10
|
License-File: LICENSE
|
11
|
-
Keywords: ai,api-client,chatgpt,cli,gpt,
|
11
|
+
Keywords: ai,api-client,chatbot,chatgpt,claude,cli,cli-tool,code-generation,git-commit,gpt,groq,llm,markdown-rendering,ollama,openai,shell-commands,text-rewriting
|
12
12
|
Classifier: Environment :: Console
|
13
13
|
Classifier: Intended Audience :: Developers
|
14
14
|
Classifier: Intended Audience :: End Users/Desktop
|
@@ -41,7 +41,7 @@ Description-Content-Type: text/markdown
|
|
41
41
|
[](https://pypi.org/project/ngpt/)
|
42
42
|
[](https://nazdridoy.github.io/ngpt/)
|
43
43
|
|
44
|
-
|
44
|
+
🤖 nGPT: A Swiss army knife for LLMs: powerful CLI, interactive chatbot, and flexible library all in one package. Seamlessly work with OpenAI, Ollama, Groq, Claude, or any OpenAI-compatible API to generate code, craft git commits, rewrite text, and execute shell commands. Fast, lightweight, and designed for both casual users and developers.
|
45
45
|
|
46
46
|

|
47
47
|
|
@@ -418,7 +418,7 @@ For detailed information about building CLI tools with nGPT, see the [CLI Framew
|
|
418
418
|
#### Google Gemini API Key
|
419
419
|
1. Create or use an existing Google account
|
420
420
|
2. Go to [Google AI Studio](https://aistudio.google.com/)
|
421
|
-
3. Navigate to API keys in the left sidebar (or visit https://aistudio.google.com/app/
|
421
|
+
3. Navigate to API keys in the left sidebar (or visit https://aistudio.google.com/app/apikey)
|
422
422
|
4. Create an API key and copy it
|
423
423
|
5. Configure nGPT with your key:
|
424
424
|
```bash
|
@@ -5,7 +5,7 @@
|
|
5
5
|
[](https://pypi.org/project/ngpt/)
|
6
6
|
[](https://nazdridoy.github.io/ngpt/)
|
7
7
|
|
8
|
-
|
8
|
+
🤖 nGPT: A Swiss army knife for LLMs: powerful CLI, interactive chatbot, and flexible library all in one package. Seamlessly work with OpenAI, Ollama, Groq, Claude, or any OpenAI-compatible API to generate code, craft git commits, rewrite text, and execute shell commands. Fast, lightweight, and designed for both casual users and developers.
|
9
9
|
|
10
10
|

|
11
11
|
|
@@ -382,7 +382,7 @@ For detailed information about building CLI tools with nGPT, see the [CLI Framew
|
|
382
382
|
#### Google Gemini API Key
|
383
383
|
1. Create or use an existing Google account
|
384
384
|
2. Go to [Google AI Studio](https://aistudio.google.com/)
|
385
|
-
3. Navigate to API keys in the left sidebar (or visit https://aistudio.google.com/app/
|
385
|
+
3. Navigate to API keys in the left sidebar (or visit https://aistudio.google.com/app/apikey)
|
386
386
|
4. Create an API key and copy it
|
387
387
|
5. Configure nGPT with your key:
|
388
388
|
```bash
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# nGPT Documentation
|
2
2
|
|
3
|
-
Welcome to the documentation for nGPT, a
|
3
|
+
Welcome to the documentation for nGPT, a Swiss army knife for LLMs: powerful CLI, interactive chatbot, and flexible library all in one package. Seamlessly work with OpenAI, Ollama, Groq, Claude, or any OpenAI-compatible API to generate code, craft git commits, rewrite text, and execute shell commands. Fast, lightweight, and designed for both casual users and developers. nGPT offers three main modes of use:
|
4
4
|
|
5
5
|
- A command-line interface (CLI) tool for quick AI interactions
|
6
6
|
- A Python library for integration into your applications
|
@@ -20,7 +20,7 @@ nGPT uses a flexible configuration system that supports multiple profiles for di
|
|
20
20
|
### Google Gemini API Key
|
21
21
|
1. Create or use an existing Google account
|
22
22
|
2. Go to [Google AI Studio](https://aistudio.google.com/)
|
23
|
-
3. Navigate to API keys in the left sidebar (or visit https://aistudio.google.com/app/
|
23
|
+
3. Navigate to API keys in the left sidebar (or visit https://aistudio.google.com/app/apikey)
|
24
24
|
4. Create an API key and copy it
|
25
25
|
5. Configure nGPT with your key:
|
26
26
|
```bash
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
## What is nGPT?
|
4
4
|
|
5
|
-
nGPT is a
|
5
|
+
🤖 nGPT is a Swiss army knife for LLMs: powerful CLI, interactive chatbot, and flexible library all in one package. Seamlessly work with OpenAI, Ollama, Groq, Claude, or any OpenAI-compatible API to generate code, craft git commits, rewrite text, and execute shell commands. Fast, lightweight, and designed for both casual users and developers.
|
6
6
|
|
7
7
|
## Key Features
|
8
8
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# Usage Guide
|
2
2
|
|
3
|
-
This section contains comprehensive documentation on how to use nGPT,
|
3
|
+
This section contains comprehensive documentation on how to use nGPT, a Swiss army knife for LLMs that combines a powerful CLI, interactive chatbot, and flexible library in one package. Learn how to seamlessly work with OpenAI, Ollama, Groq, Claude, or any OpenAI-compatible API to generate code, craft git commits, rewrite text, and execute shell commands.
|
4
4
|
|
5
5
|
## Table of Contents
|
6
6
|
|
@@ -17,6 +17,15 @@ PRESERVATION RULES (HIGHEST PRIORITY):
|
|
17
17
|
4. Respect the style of expression when intentional
|
18
18
|
5. Retain technical terminology, jargon, and domain-specific language
|
19
19
|
6. Keep all facts, data points, quotes, and references exactly as provided
|
20
|
+
7. Preserve all @ mentions (like @username) exactly as written
|
21
|
+
|
22
|
+
FORMAT PRESERVATION:
|
23
|
+
1. Maintain all paragraph breaks and section structures
|
24
|
+
2. Preserve formatting of lists, bullet points, and numbering
|
25
|
+
3. Keep code blocks (```) exactly as they appear with no changes to code
|
26
|
+
4. Respect all markdown formatting (bold, italic, headers, etc.)
|
27
|
+
5. Preserve URLs, email addresses, file paths, variables, and @ mentions exactly
|
28
|
+
6. Maintain the structure of tables and other special formats
|
20
29
|
|
21
30
|
IMPROVEMENT FOCUS:
|
22
31
|
1. Fix grammar, spelling, and punctuation errors
|
@@ -28,14 +37,6 @@ IMPROVEMENT FOCUS:
|
|
28
37
|
7. Convert passive voice to active when appropriate
|
29
38
|
8. Remove redundancies, filler words, and unnecessary repetition
|
30
39
|
|
31
|
-
FORMAT PRESERVATION:
|
32
|
-
1. Maintain all paragraph breaks and section structures
|
33
|
-
2. Preserve formatting of lists, bullet points, and numbering
|
34
|
-
3. Keep code blocks (```) exactly as they appear with no changes to code
|
35
|
-
4. Respect all markdown formatting (bold, italic, headers, etc.)
|
36
|
-
5. Preserve URLs, email addresses, file paths, and variables exactly
|
37
|
-
6. Maintain the structure of tables and other special formats
|
38
|
-
|
39
40
|
CONTENT-SPECIFIC GUIDANCE:
|
40
41
|
- For technical content: Prioritize precision and clarity over stylistic changes
|
41
42
|
- For casual text: Maintain conversational flow and personality
|
@@ -50,6 +51,7 @@ STRICTLY AVOID:
|
|
50
51
|
5. Explaining what you changed (just provide the improved text)
|
51
52
|
6. Altering the meaning of any sentence, even slightly
|
52
53
|
7. Changing domain-specific terminology or jargon to general terms
|
54
|
+
8. Modifying or removing @ mentions, hashtags, or issue references (like #123)
|
53
55
|
|
54
56
|
OUTPUT INSTRUCTION:
|
55
57
|
Provide ONLY the rewritten text with no explanations, comments, or meta-text.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
[project]
|
2
2
|
name = "ngpt"
|
3
|
-
version = "2.16.
|
4
|
-
description = "
|
3
|
+
version = "2.16.3"
|
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"},
|
7
7
|
]
|
@@ -14,7 +14,7 @@ dependencies = [
|
|
14
14
|
requires-python = ">=3.8"
|
15
15
|
readme = "README.md"
|
16
16
|
license = {text = "MIT"}
|
17
|
-
keywords = ["openai", "cli", "api-client", "llm", "ai", "gpt", "chatgpt", "
|
17
|
+
keywords = ["openai", "cli", "api-client", "llm", "ai", "gpt", "chatgpt", "chatbot", "cli-tool", "shell-commands", "git-commit", "code-generation", "text-rewriting", "markdown-rendering", "groq", "ollama", "claude"]
|
18
18
|
classifiers = [
|
19
19
|
"Programming Language :: Python :: 3",
|
20
20
|
"Programming Language :: Python :: 3.8",
|
ngpt-2.16.1/docs/_config.yml
DELETED
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
|