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.
Files changed (58) hide show
  1. {ngpt-2.16.1 → ngpt-2.16.3}/PKG-INFO +5 -5
  2. {ngpt-2.16.1 → ngpt-2.16.3}/README.md +2 -2
  3. {ngpt-2.16.1 → ngpt-2.16.3}/docs/README.md +1 -1
  4. ngpt-2.16.3/docs/_config.yml +7 -0
  5. {ngpt-2.16.1 → ngpt-2.16.3}/docs/configuration.md +1 -1
  6. {ngpt-2.16.1 → ngpt-2.16.3}/docs/overview.md +1 -1
  7. {ngpt-2.16.1 → ngpt-2.16.3}/docs/usage/README.md +1 -1
  8. {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/modes/rewrite.py +10 -8
  9. {ngpt-2.16.1 → ngpt-2.16.3}/pyproject.toml +3 -3
  10. {ngpt-2.16.1 → ngpt-2.16.3}/uv.lock +1 -1
  11. ngpt-2.16.1/docs/_config.yml +0 -7
  12. {ngpt-2.16.1 → ngpt-2.16.3}/.github/workflows/python-publish.yml +0 -0
  13. {ngpt-2.16.1 → ngpt-2.16.3}/.gitignore +0 -0
  14. {ngpt-2.16.1 → ngpt-2.16.3}/.python-version +0 -0
  15. {ngpt-2.16.1 → ngpt-2.16.3}/COMMIT_GUIDELINES.md +0 -0
  16. {ngpt-2.16.1 → ngpt-2.16.3}/CONTRIBUTING.md +0 -0
  17. {ngpt-2.16.1 → ngpt-2.16.3}/LICENSE +0 -0
  18. {ngpt-2.16.1 → ngpt-2.16.3}/docs/CONTRIBUTING.md +0 -0
  19. {ngpt-2.16.1 → ngpt-2.16.3}/docs/LICENSE.md +0 -0
  20. {ngpt-2.16.1 → ngpt-2.16.3}/docs/api/README.md +0 -0
  21. {ngpt-2.16.1 → ngpt-2.16.3}/docs/api/cli.md +0 -0
  22. {ngpt-2.16.1 → ngpt-2.16.3}/docs/api/cli_config.md +0 -0
  23. {ngpt-2.16.1 → ngpt-2.16.3}/docs/api/client.md +0 -0
  24. {ngpt-2.16.1 → ngpt-2.16.3}/docs/api/config.md +0 -0
  25. {ngpt-2.16.1 → ngpt-2.16.3}/docs/api/logging.md +0 -0
  26. {ngpt-2.16.1 → ngpt-2.16.3}/docs/assets/css/style.scss +0 -0
  27. {ngpt-2.16.1 → ngpt-2.16.3}/docs/examples/README.md +0 -0
  28. {ngpt-2.16.1 → ngpt-2.16.3}/docs/examples/advanced.md +0 -0
  29. {ngpt-2.16.1 → ngpt-2.16.3}/docs/examples/basic.md +0 -0
  30. {ngpt-2.16.1 → ngpt-2.16.3}/docs/examples/cli_components.md +0 -0
  31. {ngpt-2.16.1 → ngpt-2.16.3}/docs/examples/integrations.md +0 -0
  32. {ngpt-2.16.1 → ngpt-2.16.3}/docs/installation.md +0 -0
  33. {ngpt-2.16.1 → ngpt-2.16.3}/docs/usage/cli_config.md +0 -0
  34. {ngpt-2.16.1 → ngpt-2.16.3}/docs/usage/cli_framework.md +0 -0
  35. {ngpt-2.16.1 → ngpt-2.16.3}/docs/usage/cli_usage.md +0 -0
  36. {ngpt-2.16.1 → ngpt-2.16.3}/docs/usage/gitcommsg.md +0 -0
  37. {ngpt-2.16.1 → ngpt-2.16.3}/docs/usage/library_usage.md +0 -0
  38. {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/__init__.py +0 -0
  39. {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/__main__.py +0 -0
  40. {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/__init__.py +0 -0
  41. {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/args.py +0 -0
  42. {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/config_manager.py +0 -0
  43. {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/formatters.py +0 -0
  44. {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/interactive.py +0 -0
  45. {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/main.py +0 -0
  46. {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/modes/__init__.py +0 -0
  47. {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/modes/chat.py +0 -0
  48. {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/modes/code.py +0 -0
  49. {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/modes/gitcommsg.py +0 -0
  50. {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/modes/shell.py +0 -0
  51. {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/modes/text.py +0 -0
  52. {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/renderers.py +0 -0
  53. {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/cli/ui.py +0 -0
  54. {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/client.py +0 -0
  55. {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/utils/__init__.py +0 -0
  56. {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/utils/cli_config.py +0 -0
  57. {ngpt-2.16.1 → ngpt-2.16.3}/ngpt/utils/config.py +0 -0
  58. {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.1
4
- Summary: A lightweight Python CLI and library for interacting with OpenAI-compatible APIs, supporting both official and self-hosted LLM endpoints.
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,gpt4free,llm,ngpt,openai
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
  [![Python Versions](https://img.shields.io/pypi/pyversions/ngpt.svg)](https://pypi.org/project/ngpt/)
42
42
  [![Documentation](https://img.shields.io/badge/docs-available-brightgreen.svg)](https://nazdridoy.github.io/ngpt/)
43
43
 
44
- A versatile Python LLM client that functions as a CLI utility, library, and development framework. Supports multiple providers (OpenAI, Ollama, Groq, Claude) with features including interactive chat, code generation, shell command execution, git commit messages generation, and markdown rendering.
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
  ![2025-04-23_16-18-01](https://github.com/user-attachments/assets/b8e58926-5165-4352-b48b-9f4a982da86e)
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/apikeys)
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
  [![Python Versions](https://img.shields.io/pypi/pyversions/ngpt.svg)](https://pypi.org/project/ngpt/)
6
6
  [![Documentation](https://img.shields.io/badge/docs-available-brightgreen.svg)](https://nazdridoy.github.io/ngpt/)
7
7
 
8
- A versatile Python LLM client that functions as a CLI utility, library, and development framework. Supports multiple providers (OpenAI, Ollama, Groq, Claude) with features including interactive chat, code generation, shell command execution, git commit messages generation, and markdown rendering.
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
  ![2025-04-23_16-18-01](https://github.com/user-attachments/assets/b8e58926-5165-4352-b48b-9f4a982da86e)
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/apikeys)
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 versatile Python LLM client that functions as a CLI utility, library, and development framework. It supports multiple providers (OpenAI, Ollama, Groq, Claude) with features including interactive chat, code generation, shell command execution, git commit messages generation, and markdown rendering. nGPT offers three main modes of use:
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
@@ -0,0 +1,7 @@
1
+ title: nGPT Documentation
2
+ description: Swiss army knife for LLMs - powerful CLI, interactive chatbot, and flexible Python library
3
+ baseurl: /ngpt
4
+ remote_theme: pages-themes/hacker
5
+ plugins:
6
+ - jekyll-remote-theme
7
+ show_downloads: false
@@ -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/apikeys)
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 versatile Python LLM client that functions as a CLI utility, library, and development framework. It supports multiple providers (OpenAI, Ollama, Groq, Claude) with features including interactive chat, code generation, shell command execution, git commit messages generation, and markdown rendering.
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, both as a command-line interface (CLI) tool and as a Python library.
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.1"
4
- description = "A lightweight Python CLI and library for interacting with OpenAI-compatible APIs, supporting both official and self-hosted LLM endpoints."
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", "gpt4free", "ngpt"]
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",
@@ -134,7 +134,7 @@ wheels = [
134
134
 
135
135
  [[package]]
136
136
  name = "ngpt"
137
- version = "2.16.1"
137
+ version = "2.16.3"
138
138
  source = { editable = "." }
139
139
  dependencies = [
140
140
  { name = "prompt-toolkit" },
@@ -1,7 +0,0 @@
1
- title: nGPT Documentation
2
- description: A lightweight Python CLI and library for interacting with OpenAI-compatible APIs
3
- baseurl: /ngpt
4
- remote_theme: pages-themes/hacker
5
- plugins:
6
- - jekyll-remote-theme
7
- show_downloads: false
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