ngpt 3.0.2__tar.gz → 3.0.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-3.0.3/.github/workflows/aur-publish.yml +58 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/PKG-INFO +5 -1
- {ngpt-3.0.2 → ngpt-3.0.3}/README.md +4 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/installation.md +19 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/pyproject.toml +1 -1
- {ngpt-3.0.2 → ngpt-3.0.3}/uv.lock +1 -1
- {ngpt-3.0.2 → ngpt-3.0.3}/wiki.md +1 -0
- ngpt-3.0.2/.github/workflows/aur-publish.yml +0 -40
- {ngpt-3.0.2 → ngpt-3.0.3}/.github/workflows/python-publish.yml +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/.gitignore +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/.python-version +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/COMMIT_GUIDELINES.md +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/CONTRIBUTING.md +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/LICENSE +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/PKGBUILD +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/CONTRIBUTING.md +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/LICENSE.md +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/README.md +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/_config.yml +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/api/README.md +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/api/cli.md +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/api/cli_config.md +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/api/client.md +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/api/config.md +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/api/logging.md +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/assets/css/style.scss +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/configuration.md +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/examples/README.md +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/examples/advanced.md +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/examples/basic.md +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/examples/cli_components.md +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/examples/integrations.md +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/overview.md +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/usage/README.md +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/usage/cli_config.md +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/usage/cli_framework.md +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/usage/cli_usage.md +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/usage/gitcommsg.md +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/docs/usage/library_usage.md +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/ngpt/__init__.py +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/ngpt/__main__.py +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/ngpt/cli/__init__.py +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/ngpt/cli/args.py +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/ngpt/cli/config_manager.py +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/ngpt/cli/formatters.py +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/ngpt/cli/interactive.py +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/ngpt/cli/main.py +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/ngpt/cli/modes/__init__.py +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/ngpt/cli/modes/chat.py +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/ngpt/cli/modes/code.py +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/ngpt/cli/modes/gitcommsg.py +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/ngpt/cli/modes/rewrite.py +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/ngpt/cli/modes/shell.py +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/ngpt/cli/modes/text.py +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/ngpt/cli/renderers.py +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/ngpt/cli/ui.py +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/ngpt/client.py +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/ngpt/utils/__init__.py +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/ngpt/utils/cli_config.py +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/ngpt/utils/config.py +0 -0
- {ngpt-3.0.2 → ngpt-3.0.3}/ngpt/utils/log.py +0 -0
@@ -0,0 +1,58 @@
|
|
1
|
+
name: Publish AUR Package
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
tags:
|
6
|
+
- 'v*' # Trigger on version tags
|
7
|
+
workflow_dispatch:
|
8
|
+
inputs:
|
9
|
+
version:
|
10
|
+
description: 'Package version (leave empty to use current pyproject.toml version)'
|
11
|
+
required: false
|
12
|
+
default: ''
|
13
|
+
|
14
|
+
jobs:
|
15
|
+
publish-aur:
|
16
|
+
runs-on: ubuntu-latest
|
17
|
+
steps:
|
18
|
+
- name: Checkout code
|
19
|
+
uses: actions/checkout@v3
|
20
|
+
with:
|
21
|
+
fetch-depth: 0 # Required for accurate versioning
|
22
|
+
|
23
|
+
- name: Extract version
|
24
|
+
id: extract_version
|
25
|
+
run: |
|
26
|
+
# Check if manually triggered with version input
|
27
|
+
if [[ "${{ github.event_name }}" == "workflow_dispatch" && -n "${{ github.event.inputs.version }}" ]]; then
|
28
|
+
# Use manually specified version
|
29
|
+
VERSION="${{ github.event.inputs.version }}"
|
30
|
+
elif [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
|
31
|
+
# Extract version from pyproject.toml when manually triggered without version
|
32
|
+
VERSION=$(grep -m 1 'version = ' pyproject.toml | cut -d '"' -f 2)
|
33
|
+
else
|
34
|
+
# Extract version from tag (remove 'v' prefix)
|
35
|
+
VERSION=${GITHUB_REF#refs/tags/v}
|
36
|
+
fi
|
37
|
+
|
38
|
+
echo "Package version: $VERSION"
|
39
|
+
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
40
|
+
|
41
|
+
# Update version in PKGBUILD
|
42
|
+
sed -i "s/^pkgver=.*/pkgver=$VERSION/" PKGBUILD
|
43
|
+
|
44
|
+
- name: Publish AUR package
|
45
|
+
uses: KSXGitHub/github-actions-deploy-aur@v4.1.1
|
46
|
+
with:
|
47
|
+
pkgname: ngpt
|
48
|
+
pkgbuild: ./PKGBUILD
|
49
|
+
assets: |
|
50
|
+
LICENSE
|
51
|
+
README.md
|
52
|
+
commit_username: ${{ secrets.AUR_USERNAME }}
|
53
|
+
commit_email: ${{ secrets.AUR_EMAIL }}
|
54
|
+
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
|
55
|
+
commit_message: "${{ github.event_name == 'workflow_dispatch' && 'Manual update to version' || 'Update to version' }} ${{ steps.extract_version.outputs.version }}"
|
56
|
+
ssh_keyscan_types: rsa,ecdsa,ed25519
|
57
|
+
updpkgsums: true # Let the action update checksums automatically
|
58
|
+
test: false # Disable testing since the environment doesn't have necessary tools
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ngpt
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.3
|
4
4
|
Summary: Swiss army knife for LLMs: powerful CLI, interactive chatbot, and flexible Python library. Works with OpenAI, Ollama, Groq, Claude, Gemini, 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
|
@@ -38,6 +38,7 @@ Description-Content-Type: text/markdown
|
|
38
38
|
|
39
39
|
<p align="center">
|
40
40
|
<a href="https://pypi.org/project/ngpt/"><img src="https://img.shields.io/pypi/v/ngpt.svg" alt="PyPI version"></a>
|
41
|
+
<a href="https://aur.archlinux.org/packages/ngpt"><img src="https://img.shields.io/badge/AUR-ngpt-blue" alt="AUR package"></a>
|
41
42
|
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a>
|
42
43
|
<a href="https://nazdridoy.github.io/ngpt/"><img src="https://img.shields.io/badge/docs-available-brightgreen.svg" alt="Documentation"></a>
|
43
44
|
</p>
|
@@ -229,6 +230,9 @@ uv pip install ngpt
|
|
229
230
|
|
230
231
|
# Or install globally as a CLI tool (recommended for command-line usage)
|
231
232
|
uv tool install ngpt
|
233
|
+
|
234
|
+
# Arch Linux: install from AUR
|
235
|
+
paru -S ngpt
|
232
236
|
```
|
233
237
|
|
234
238
|
Requires Python 3.8 or newer.
|
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
<p align="center">
|
4
4
|
<a href="https://pypi.org/project/ngpt/"><img src="https://img.shields.io/pypi/v/ngpt.svg" alt="PyPI version"></a>
|
5
|
+
<a href="https://aur.archlinux.org/packages/ngpt"><img src="https://img.shields.io/badge/AUR-ngpt-blue" alt="AUR package"></a>
|
5
6
|
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a>
|
6
7
|
<a href="https://nazdridoy.github.io/ngpt/"><img src="https://img.shields.io/badge/docs-available-brightgreen.svg" alt="Documentation"></a>
|
7
8
|
</p>
|
@@ -193,6 +194,9 @@ uv pip install ngpt
|
|
193
194
|
|
194
195
|
# Or install globally as a CLI tool (recommended for command-line usage)
|
195
196
|
uv tool install ngpt
|
197
|
+
|
198
|
+
# Arch Linux: install from AUR
|
199
|
+
paru -S ngpt
|
196
200
|
```
|
197
201
|
|
198
202
|
Requires Python 3.8 or newer.
|
@@ -76,6 +76,20 @@ Or, if you prefer using pipx for isolated application installations:
|
|
76
76
|
pipx install ngpt
|
77
77
|
```
|
78
78
|
|
79
|
+
### Arch Linux AUR
|
80
|
+
|
81
|
+
nGPT is available in the Arch User Repository (AUR). If you're using Arch Linux or an Arch-based distribution (like Manjaro, EndeavourOS, etc.), you can install nGPT from the AUR using your preferred AUR helper:
|
82
|
+
|
83
|
+
```bash
|
84
|
+
# Using paru
|
85
|
+
paru -S ngpt
|
86
|
+
|
87
|
+
# Or using yay
|
88
|
+
yay -S ngpt
|
89
|
+
```
|
90
|
+
|
91
|
+
This will install nGPT and all required dependencies managed by the Arch packaging system.
|
92
|
+
|
79
93
|
### Windows
|
80
94
|
|
81
95
|
On Windows, you can install nGPT using pip or uv:
|
@@ -172,6 +186,11 @@ pip install --upgrade ngpt
|
|
172
186
|
|
173
187
|
# Using uv
|
174
188
|
uv pip install --upgrade ngpt
|
189
|
+
|
190
|
+
# Using AUR (Arch Linux)
|
191
|
+
paru -Syu ngpt
|
192
|
+
# Or
|
193
|
+
yay -Syu ngpt
|
175
194
|
```
|
176
195
|
|
177
196
|
## Glow for Enhanced Markdown (Optional)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "ngpt"
|
3
|
-
version = "3.0.
|
3
|
+
version = "3.0.3"
|
4
4
|
description = "Swiss army knife for LLMs: powerful CLI, interactive chatbot, and flexible Python library. Works with OpenAI, Ollama, Groq, Claude, Gemini, and any OpenAI-compatible API."
|
5
5
|
authors = [
|
6
6
|
{name = "nazDridoy", email = "nazdridoy399@gmail.com"},
|
@@ -87,6 +87,7 @@ ngpt -i
|
|
87
87
|
|
88
88
|
<p align="center">
|
89
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://aur.archlinux.org/packages/ngpt"><img src="https://img.shields.io/badge/AUR-ngpt-blue" alt="AUR package"></a>
|
90
91
|
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a>
|
91
92
|
<a href="https://nazdridoy.github.io/ngpt/"><img src="https://img.shields.io/badge/docs-available-brightgreen.svg" alt="Documentation"></a>
|
92
93
|
</p>
|
@@ -1,40 +0,0 @@
|
|
1
|
-
name: Publish AUR Package
|
2
|
-
|
3
|
-
on:
|
4
|
-
push:
|
5
|
-
tags:
|
6
|
-
- 'v*' # Trigger on version tags
|
7
|
-
|
8
|
-
jobs:
|
9
|
-
publish-aur:
|
10
|
-
runs-on: ubuntu-latest
|
11
|
-
steps:
|
12
|
-
- name: Checkout code
|
13
|
-
uses: actions/checkout@v3
|
14
|
-
with:
|
15
|
-
fetch-depth: 0 # Required for accurate versioning
|
16
|
-
|
17
|
-
- name: Update version in PKGBUILD
|
18
|
-
run: |
|
19
|
-
# Extract version from tag (remove 'v' prefix)
|
20
|
-
VERSION=${GITHUB_REF#refs/tags/v}
|
21
|
-
echo "Package version: $VERSION"
|
22
|
-
|
23
|
-
# Update version in PKGBUILD
|
24
|
-
sed -i "s/^pkgver=.*/pkgver=$VERSION/" PKGBUILD
|
25
|
-
|
26
|
-
- name: Publish AUR package
|
27
|
-
uses: KSXGitHub/github-actions-deploy-aur@v4.1.1
|
28
|
-
with:
|
29
|
-
pkgname: ngpt
|
30
|
-
pkgbuild: ./PKGBUILD
|
31
|
-
assets: |
|
32
|
-
LICENSE
|
33
|
-
README.md
|
34
|
-
commit_username: ${{ secrets.AUR_USERNAME }}
|
35
|
-
commit_email: ${{ secrets.AUR_EMAIL }}
|
36
|
-
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
|
37
|
-
commit_message: "Update to version ${{ github.ref_name }}"
|
38
|
-
ssh_keyscan_types: rsa,ecdsa,ed25519
|
39
|
-
updpkgsums: true # Let the action update checksums automatically
|
40
|
-
test: true # Verify the PKGBUILD can be built
|
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
|