Skip to main content

Asistente inteligente para atuomatizar tareas de Git y GitHub

Project description

AI Git Assistant 🤖📦

PyPI version License

📄 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 .

🏗️ 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

  1. Clone the repository
  2. Create a virtual environment:
python -m venv venv
source venv/bin/activate  # Linux/Mac
venv\Scripts\activate     # Windows
  1. Install dependencies:
pip install -e ".[dev]"
  1. 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai_git_assistant-1.0.0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_git_assistant-1.0.0-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file ai_git_assistant-1.0.0.tar.gz.

File metadata

  • Download URL: ai_git_assistant-1.0.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for ai_git_assistant-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0508a8183cf8ea396f58e7b910172302fa69beadec19278940f4454b15a87d81
MD5 8ef089fd845ebef55924645f63e7bb48
BLAKE2b-256 17211736eff390593ba12bd90125a1de5487e37a88145e971a0779947036f74c

See more details on using hashes here.

File details

Details for the file ai_git_assistant-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_git_assistant-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 280cc80274095e351e7c2cdc19f88d212edab22a256a4dfd0e9d5cf5e3b605a4
MD5 14db2912fbf184a1d18628ad47488935
BLAKE2b-256 1558354c44b14bf3fdcab73af05b0805475a76ae421f6c9a304c9d1450007a31

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page