ngpt 2.16.1__py3-none-any.whl → 2.16.3__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.
- ngpt/cli/modes/rewrite.py +10 -8
- {ngpt-2.16.1.dist-info → ngpt-2.16.3.dist-info}/METADATA +5 -5
- {ngpt-2.16.1.dist-info → ngpt-2.16.3.dist-info}/RECORD +6 -6
- {ngpt-2.16.1.dist-info → ngpt-2.16.3.dist-info}/WHEEL +0 -0
- {ngpt-2.16.1.dist-info → ngpt-2.16.3.dist-info}/entry_points.txt +0 -0
- {ngpt-2.16.1.dist-info → ngpt-2.16.3.dist-info}/licenses/LICENSE +0 -0
ngpt/cli/modes/rewrite.py
CHANGED
@@ -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,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
|
@@ -13,15 +13,15 @@ ngpt/cli/modes/__init__.py,sha256=R3aO662RIzWEOvr3moTrEI8Tpg0zDDyMGGh1-OxiRgM,28
|
|
13
13
|
ngpt/cli/modes/chat.py,sha256=4a5EgM_5A1zCSrLrjgQMDnBwIHd1Rnu5_BjSKSm7p24,4255
|
14
14
|
ngpt/cli/modes/code.py,sha256=RjOAj7BDO5vLUdIPkUfPtyIkI_W6qEHsZvYh-sIdVaM,4293
|
15
15
|
ngpt/cli/modes/gitcommsg.py,sha256=Bhgg9UArrfRUwosgVlNLUB7i1B8j-1ngpkmCm5iZBkM,46786
|
16
|
-
ngpt/cli/modes/rewrite.py,sha256=
|
16
|
+
ngpt/cli/modes/rewrite.py,sha256=Z-jSGodMoOJps0jL3sLaJaFXCxk4XKYQkrVb7wwxm20,8749
|
17
17
|
ngpt/cli/modes/shell.py,sha256=lF9f7w-0bl_FdZl-WJnZuV736BKrWQtrwoKr3ejPXFE,2682
|
18
18
|
ngpt/cli/modes/text.py,sha256=ncYnfLFMdTPuHiOvAaHNiOWhox6GF6S-2fTwMIrAz-g,3140
|
19
19
|
ngpt/utils/__init__.py,sha256=E46suk2-QgYBI0Qrs6WXOajOUOebF3ETAFY7ah8DTWs,942
|
20
20
|
ngpt/utils/cli_config.py,sha256=tQxR3a2iXyc5TfRBPQHSUXPInO2dv_zTPGn04eWfmoo,11285
|
21
21
|
ngpt/utils/config.py,sha256=WYOk_b1eiYjo6hpV3pfXr2RjqhOnmKqwZwKid1T41I4,10363
|
22
22
|
ngpt/utils/log.py,sha256=f1jg2iFo35PAmsarH8FVL_62plq4VXH0Mu2QiP6RJGw,15934
|
23
|
-
ngpt-2.16.
|
24
|
-
ngpt-2.16.
|
25
|
-
ngpt-2.16.
|
26
|
-
ngpt-2.16.
|
27
|
-
ngpt-2.16.
|
23
|
+
ngpt-2.16.3.dist-info/METADATA,sha256=DKzWw5ezTaMH8ClDlK3MX-esgPY90j1gPP1Wo9H1y8E,24937
|
24
|
+
ngpt-2.16.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
25
|
+
ngpt-2.16.3.dist-info/entry_points.txt,sha256=SqAAvLhMrsEpkIr4YFRdUeyuXQ9o0IBCeYgE6AVojoI,44
|
26
|
+
ngpt-2.16.3.dist-info/licenses/LICENSE,sha256=mQkpWoADxbHqE0HRefYLJdm7OpdrXBr3vNv5bZ8w72M,1065
|
27
|
+
ngpt-2.16.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|