gitauto-tool 1.1.0__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.
- gitauto_tool-1.1.0/LICENSE.md +21 -0
- gitauto_tool-1.1.0/PKG-INFO +96 -0
- gitauto_tool-1.1.0/README.md +77 -0
- gitauto_tool-1.1.0/pyproject.toml +37 -0
- gitauto_tool-1.1.0/setup.cfg +4 -0
- gitauto_tool-1.1.0/src/gitauto.py +708 -0
- gitauto_tool-1.1.0/src/gitauto_tool.egg-info/PKG-INFO +96 -0
- gitauto_tool-1.1.0/src/gitauto_tool.egg-info/SOURCES.txt +11 -0
- gitauto_tool-1.1.0/src/gitauto_tool.egg-info/dependency_links.txt +1 -0
- gitauto_tool-1.1.0/src/gitauto_tool.egg-info/entry_points.txt +2 -0
- gitauto_tool-1.1.0/src/gitauto_tool.egg-info/requires.txt +3 -0
- gitauto_tool-1.1.0/src/gitauto_tool.egg-info/top_level.txt +1 -0
- gitauto_tool-1.1.0/tests/test_gitauto.py +406 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
GitAuto – Non-Commercial License (2025)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Wizdomic
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to use,
|
|
7
|
+
copy, modify, and distribute the Software **for personal, educational, or
|
|
8
|
+
non-commercial purposes only**.
|
|
9
|
+
|
|
10
|
+
Commercial use, sale, or distribution for profit is **strictly prohibited**.
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING
|
|
20
|
+
FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
21
|
+
IN THE SOFTWARE..
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: gitauto-tool
|
|
3
|
+
Version: 1.1.0
|
|
4
|
+
Summary: AI-powered git workflow automation
|
|
5
|
+
License: MIT
|
|
6
|
+
Keywords: git,automation,ai,cli,devtools
|
|
7
|
+
Classifier: Development Status :: 4 - Beta
|
|
8
|
+
Classifier: Environment :: Console
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Topic :: Software Development :: Version Control :: Git
|
|
13
|
+
Requires-Python: >=3.8
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
License-File: LICENSE.md
|
|
16
|
+
Provides-Extra: dev
|
|
17
|
+
Requires-Dist: pytest>=7; extra == "dev"
|
|
18
|
+
Dynamic: license-file
|
|
19
|
+
|
|
20
|
+
# GitAuto
|
|
21
|
+
|
|
22
|
+

|
|
23
|
+

|
|
24
|
+

|
|
25
|
+

|
|
26
|
+
|
|
27
|
+
AI-powered Git workflow automation. Stage, commit, and push in one command.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Install
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
pipx install gitauto-tool
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
> Need pipx? `pip install pipx && pipx ensurepath && exec $SHELL`
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Setup
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
gitauto setup
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Choose a provider (OpenAI / Anthropic / Gemini) and paste your API key. Skippable — works without AI too.
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Usage
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
gitauto
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
Changes:
|
|
59
|
+
M src/app.py
|
|
60
|
+
|
|
61
|
+
Files to add (. for all) [.]: .
|
|
62
|
+
✓ Staged: .
|
|
63
|
+
|
|
64
|
+
Generate commit message with AI? (y/n) [y]: y
|
|
65
|
+
ℹ Generating via anthropic...
|
|
66
|
+
|
|
67
|
+
Add input validation to user registration
|
|
68
|
+
|
|
69
|
+
Use this? (y / r=regenerate / m=manual) [y]: y
|
|
70
|
+
✓ Committed: Add input validation to user registration
|
|
71
|
+
|
|
72
|
+
Push to remote? (y/n) [y]: y
|
|
73
|
+
✓ Pushed to origin/main
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## Commands
|
|
79
|
+
|
|
80
|
+
| Command | Description |
|
|
81
|
+
|---------|-------------|
|
|
82
|
+
| `gitauto` | Full workflow — add → commit → push |
|
|
83
|
+
| `gitauto setup` | Configure AI provider and API key |
|
|
84
|
+
| `gitauto upgrade` | Upgrade to latest version |
|
|
85
|
+
| `gitauto uninstall` | Remove GitAuto from your system |
|
|
86
|
+
| `gitauto --no-push` | Commit only, skip push |
|
|
87
|
+
| `gitauto --no-ai` | Skip AI, type message manually |
|
|
88
|
+
| `gitauto --force-push` | Force push ⚠️ destructive |
|
|
89
|
+
| `gitauto --branch <n>` | Switch or create branch before committing |
|
|
90
|
+
| `gitauto --help` | Show all commands |
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## License
|
|
95
|
+
|
|
96
|
+
MIT
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# GitAuto
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+

|
|
5
|
+

|
|
6
|
+

|
|
7
|
+
|
|
8
|
+
AI-powered Git workflow automation. Stage, commit, and push in one command.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
pipx install gitauto-tool
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
> Need pipx? `pip install pipx && pipx ensurepath && exec $SHELL`
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Setup
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
gitauto setup
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Choose a provider (OpenAI / Anthropic / Gemini) and paste your API key. Skippable — works without AI too.
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Usage
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
gitauto
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
Changes:
|
|
40
|
+
M src/app.py
|
|
41
|
+
|
|
42
|
+
Files to add (. for all) [.]: .
|
|
43
|
+
✓ Staged: .
|
|
44
|
+
|
|
45
|
+
Generate commit message with AI? (y/n) [y]: y
|
|
46
|
+
ℹ Generating via anthropic...
|
|
47
|
+
|
|
48
|
+
Add input validation to user registration
|
|
49
|
+
|
|
50
|
+
Use this? (y / r=regenerate / m=manual) [y]: y
|
|
51
|
+
✓ Committed: Add input validation to user registration
|
|
52
|
+
|
|
53
|
+
Push to remote? (y/n) [y]: y
|
|
54
|
+
✓ Pushed to origin/main
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Commands
|
|
60
|
+
|
|
61
|
+
| Command | Description |
|
|
62
|
+
|---------|-------------|
|
|
63
|
+
| `gitauto` | Full workflow — add → commit → push |
|
|
64
|
+
| `gitauto setup` | Configure AI provider and API key |
|
|
65
|
+
| `gitauto upgrade` | Upgrade to latest version |
|
|
66
|
+
| `gitauto uninstall` | Remove GitAuto from your system |
|
|
67
|
+
| `gitauto --no-push` | Commit only, skip push |
|
|
68
|
+
| `gitauto --no-ai` | Skip AI, type message manually |
|
|
69
|
+
| `gitauto --force-push` | Force push ⚠️ destructive |
|
|
70
|
+
| `gitauto --branch <n>` | Switch or create branch before committing |
|
|
71
|
+
| `gitauto --help` | Show all commands |
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## License
|
|
76
|
+
|
|
77
|
+
MIT
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "gitauto-tool"
|
|
7
|
+
version = "1.1.0"
|
|
8
|
+
description = "AI-powered git workflow automation"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = { text = "MIT" }
|
|
11
|
+
requires-python = ">=3.8"
|
|
12
|
+
dependencies = []
|
|
13
|
+
|
|
14
|
+
keywords = ["git", "automation", "ai", "cli", "devtools"]
|
|
15
|
+
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Development Status :: 4 - Beta",
|
|
18
|
+
"Environment :: Console",
|
|
19
|
+
"Intended Audience :: Developers",
|
|
20
|
+
"License :: OSI Approved :: MIT License",
|
|
21
|
+
"Programming Language :: Python :: 3",
|
|
22
|
+
"Topic :: Software Development :: Version Control :: Git",
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
[project.scripts]
|
|
26
|
+
gitauto = "gitauto:main"
|
|
27
|
+
|
|
28
|
+
# gitauto.py is a single module file, not a package directory
|
|
29
|
+
# so we use py_modules instead of packages.find
|
|
30
|
+
[tool.setuptools]
|
|
31
|
+
py-modules = ["gitauto"]
|
|
32
|
+
|
|
33
|
+
[tool.setuptools.package-dir]
|
|
34
|
+
"" = "src"
|
|
35
|
+
|
|
36
|
+
[project.optional-dependencies]
|
|
37
|
+
dev = ["pytest>=7"]
|