AI Git Assistant 🤖📦
📄 This README is also available in: Español
Intelligent Git assistant that automates semantic commit creation and generates Pull Request templates, with support for change analysis and AI-based suggestions.
✨ Key Features
- 🧠 Smart commit suggestions using ML (Naive Bayes + TF-IDF)
- 📝 Automatic message generation with multiple approaches:
- File type-based
- Change-based
- Code theme-based
- 🔍 Automatic detection of modified files (staged/unstaged/untracked)
- 📊 Change analysis by file type (code, docs, tests, etc.)
- 📑 PR template with:
- Organized list of modified files
- Testing considerations section
- Compatible applications table
- 🛠️ SQL support with special .sql file detection
- 🌍 Spanish interface (easy to internationalize)
📦 Installation
pip install ai-git-assistant
Or install from source:
https://github.com/LuisGH28/git_assitant.git
cd git_assitant
pip install .
🎥 Demo
Animated Demo
Result of the suggestion for the PR
Note: you must be in the root of the project, as shown in the gif, if all your project is in the example folder in the terminal you must be located in the example and there you can run with the command ai-git-assistant
🏗️ Project Structure
ai-git-assistant/
├── __init__.py
├── __main__.py # Main logic
├── requirements.txt # Dependencies
tests/
├── tests_cli.py # Interface tests
└── tests_git_utils.py # Git functionality tests
📌 Requirements
- Python 3.8+
- Git installed and configured
- Dependencies:
- scikit-learn
- joblib
🛠️ Development
- Clone the repository
- Create a virtual environment:
python -m venv venv
source venv/bin/activate # Linux/Mac
venv\Scripts\activate # Windows
- Install dependencies:
pip install -e ".[dev]"
- Run tests:
pytest
🤖 Roadmap
- Support for more languages (i18n)
- Integration with GitHub/GitLab APIs
- Non-interactive mode for CI/CD
- Editor plugins (VSCode, PyCharm)
🎉 Available on PyPI!
pip install ai-git-assistant
Metadata
Release files for ai-git-assistant 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ai_git_assistant-1.0.5.tar.gz | 11.2 kB | Without provenance | Details for ai_git_assistant-1.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ai_git_assistant-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for ai_git_assistant-1.0.5-py3-none-any.whl |
Total release size: 22.3 kB
Release files / ai_git_assistant-1.0.5.tar.gz
| Download URL | ai_git_assistant-1.0.5.tar.gz |
|---|---|
| Size | 11.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
afbe8a06a60e508fe26265ec6e9e57a5c04850c110f97623d382f8c160be92ec
|
|
BLAKE2b-256 checksum How to use checksums |
02d3ed1c71458443ea6fb3b2262f8296bf988f45f9ef3113085df8deaa51a120
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.7
|
Release files / ai_git_assistant-1.0.5-py3-none-any.whl
| Download URL | ai_git_assistant-1.0.5-py3-none-any.whl |
|---|---|
| Size | 11.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a8f8cf8a466f1e3479154f1172aea97c6682bf6ac9c717e5ac1702c8cf9f6c3
|
|
BLAKE2b-256 checksum How to use checksums |
054b86e7d20f7f1ad4756e680ee2029aaae4633d8428dd5cca708bd6676d8804
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.7
|
Security for ai-git-assistant 1.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.