git-explain 1.1.2__tar.gz → 1.1.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.
- {git_explain-1.1.2 → git_explain-1.1.3}/PKG-INFO +17 -3
- {git_explain-1.1.2 → git_explain-1.1.3}/README.md +16 -2
- {git_explain-1.1.2 → git_explain-1.1.3}/git_explain.egg-info/PKG-INFO +17 -3
- {git_explain-1.1.2 → git_explain-1.1.3}/pyproject.toml +1 -1
- {git_explain-1.1.2 → git_explain-1.1.3}/LICENSE +0 -0
- {git_explain-1.1.2 → git_explain-1.1.3}/git_explain/__init__.py +0 -0
- {git_explain-1.1.2 → git_explain-1.1.3}/git_explain/cli.py +0 -0
- {git_explain-1.1.2 → git_explain-1.1.3}/git_explain/gemini.py +0 -0
- {git_explain-1.1.2 → git_explain-1.1.3}/git_explain/git.py +0 -0
- {git_explain-1.1.2 → git_explain-1.1.3}/git_explain/heuristics.py +0 -0
- {git_explain-1.1.2 → git_explain-1.1.3}/git_explain/run.py +0 -0
- {git_explain-1.1.2 → git_explain-1.1.3}/git_explain.egg-info/SOURCES.txt +0 -0
- {git_explain-1.1.2 → git_explain-1.1.3}/git_explain.egg-info/dependency_links.txt +0 -0
- {git_explain-1.1.2 → git_explain-1.1.3}/git_explain.egg-info/entry_points.txt +0 -0
- {git_explain-1.1.2 → git_explain-1.1.3}/git_explain.egg-info/requires.txt +0 -0
- {git_explain-1.1.2 → git_explain-1.1.3}/git_explain.egg-info/top_level.txt +0 -0
- {git_explain-1.1.2 → git_explain-1.1.3}/setup.cfg +0 -0
- {git_explain-1.1.2 → git_explain-1.1.3}/tests/test_cli_utils.py +0 -0
- {git_explain-1.1.2 → git_explain-1.1.3}/tests/test_gemini.py +0 -0
- {git_explain-1.1.2 → git_explain-1.1.3}/tests/test_heuristics.py +0 -0
- {git_explain-1.1.2 → git_explain-1.1.3}/tests/test_run_apply.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: git-explain
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.3
|
|
4
4
|
Summary: CLI that suggests git add/commit from diffs using Gemini
|
|
5
5
|
Author: git-explain contributors
|
|
6
6
|
License-Expression: MIT
|
|
@@ -68,13 +68,27 @@ pip install -e .
|
|
|
68
68
|
|
|
69
69
|
## API key (for `--ai` only)
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
**Option 1 — Environment variable** (recommended for production, CI, scripts):
|
|
72
|
+
|
|
73
|
+
```powershell
|
|
74
|
+
# PowerShell
|
|
75
|
+
$env:GEMINI_API_KEY = "your_key_here"
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
# Bash / Zsh
|
|
80
|
+
export GEMINI_API_KEY=your_key_here
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
**Option 2 — `.env` file** (convenient for local development):
|
|
84
|
+
|
|
85
|
+
Create a `.env` file where you run the CLI:
|
|
72
86
|
|
|
73
87
|
```
|
|
74
88
|
GEMINI_API_KEY=your_key_here
|
|
75
89
|
```
|
|
76
90
|
|
|
77
|
-
|
|
91
|
+
You can also use `GOOGLE_API_KEY`. Optional: set `GEMINI_MODEL` to override the default (e.g. `GEMINI_MODEL=gemini-2.5-flash`). See [Troubleshooting](#troubleshooting) for 404/429.
|
|
78
92
|
|
|
79
93
|
---
|
|
80
94
|
|
|
@@ -38,13 +38,27 @@ pip install -e .
|
|
|
38
38
|
|
|
39
39
|
## API key (for `--ai` only)
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
**Option 1 — Environment variable** (recommended for production, CI, scripts):
|
|
42
|
+
|
|
43
|
+
```powershell
|
|
44
|
+
# PowerShell
|
|
45
|
+
$env:GEMINI_API_KEY = "your_key_here"
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
# Bash / Zsh
|
|
50
|
+
export GEMINI_API_KEY=your_key_here
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
**Option 2 — `.env` file** (convenient for local development):
|
|
54
|
+
|
|
55
|
+
Create a `.env` file where you run the CLI:
|
|
42
56
|
|
|
43
57
|
```
|
|
44
58
|
GEMINI_API_KEY=your_key_here
|
|
45
59
|
```
|
|
46
60
|
|
|
47
|
-
|
|
61
|
+
You can also use `GOOGLE_API_KEY`. Optional: set `GEMINI_MODEL` to override the default (e.g. `GEMINI_MODEL=gemini-2.5-flash`). See [Troubleshooting](#troubleshooting) for 404/429.
|
|
48
62
|
|
|
49
63
|
---
|
|
50
64
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: git-explain
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.3
|
|
4
4
|
Summary: CLI that suggests git add/commit from diffs using Gemini
|
|
5
5
|
Author: git-explain contributors
|
|
6
6
|
License-Expression: MIT
|
|
@@ -68,13 +68,27 @@ pip install -e .
|
|
|
68
68
|
|
|
69
69
|
## API key (for `--ai` only)
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
**Option 1 — Environment variable** (recommended for production, CI, scripts):
|
|
72
|
+
|
|
73
|
+
```powershell
|
|
74
|
+
# PowerShell
|
|
75
|
+
$env:GEMINI_API_KEY = "your_key_here"
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
# Bash / Zsh
|
|
80
|
+
export GEMINI_API_KEY=your_key_here
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
**Option 2 — `.env` file** (convenient for local development):
|
|
84
|
+
|
|
85
|
+
Create a `.env` file where you run the CLI:
|
|
72
86
|
|
|
73
87
|
```
|
|
74
88
|
GEMINI_API_KEY=your_key_here
|
|
75
89
|
```
|
|
76
90
|
|
|
77
|
-
|
|
91
|
+
You can also use `GOOGLE_API_KEY`. Optional: set `GEMINI_MODEL` to override the default (e.g. `GEMINI_MODEL=gemini-2.5-flash`). See [Troubleshooting](#troubleshooting) for 404/429.
|
|
78
92
|
|
|
79
93
|
---
|
|
80
94
|
|
|
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
|