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.
Files changed (21) hide show
  1. {git_explain-1.1.2 → git_explain-1.1.3}/PKG-INFO +17 -3
  2. {git_explain-1.1.2 → git_explain-1.1.3}/README.md +16 -2
  3. {git_explain-1.1.2 → git_explain-1.1.3}/git_explain.egg-info/PKG-INFO +17 -3
  4. {git_explain-1.1.2 → git_explain-1.1.3}/pyproject.toml +1 -1
  5. {git_explain-1.1.2 → git_explain-1.1.3}/LICENSE +0 -0
  6. {git_explain-1.1.2 → git_explain-1.1.3}/git_explain/__init__.py +0 -0
  7. {git_explain-1.1.2 → git_explain-1.1.3}/git_explain/cli.py +0 -0
  8. {git_explain-1.1.2 → git_explain-1.1.3}/git_explain/gemini.py +0 -0
  9. {git_explain-1.1.2 → git_explain-1.1.3}/git_explain/git.py +0 -0
  10. {git_explain-1.1.2 → git_explain-1.1.3}/git_explain/heuristics.py +0 -0
  11. {git_explain-1.1.2 → git_explain-1.1.3}/git_explain/run.py +0 -0
  12. {git_explain-1.1.2 → git_explain-1.1.3}/git_explain.egg-info/SOURCES.txt +0 -0
  13. {git_explain-1.1.2 → git_explain-1.1.3}/git_explain.egg-info/dependency_links.txt +0 -0
  14. {git_explain-1.1.2 → git_explain-1.1.3}/git_explain.egg-info/entry_points.txt +0 -0
  15. {git_explain-1.1.2 → git_explain-1.1.3}/git_explain.egg-info/requires.txt +0 -0
  16. {git_explain-1.1.2 → git_explain-1.1.3}/git_explain.egg-info/top_level.txt +0 -0
  17. {git_explain-1.1.2 → git_explain-1.1.3}/setup.cfg +0 -0
  18. {git_explain-1.1.2 → git_explain-1.1.3}/tests/test_cli_utils.py +0 -0
  19. {git_explain-1.1.2 → git_explain-1.1.3}/tests/test_gemini.py +0 -0
  20. {git_explain-1.1.2 → git_explain-1.1.3}/tests/test_heuristics.py +0 -0
  21. {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.2
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
- Put your Gemini API key in a `.env` file where you run the CLI, or set it in your environment:
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
- Or 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.
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
- Put your Gemini API key in a `.env` file where you run the CLI, or set it in your environment:
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
- Or 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.
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.2
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
- Put your Gemini API key in a `.env` file where you run the CLI, or set it in your environment:
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
- Or 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.
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
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "git-explain"
7
- version = "v1.1.2"
7
+ version = "v1.1.3"
8
8
  description = "CLI that suggests git add/commit from diffs using Gemini"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
File without changes
File without changes