Catalog PyPI
Back to packageRELEASE DETAILS

1.0.1

PyPI

ai-gcm

AI powered Git Commit Message Generator

aicommitgitollama
Published7 Mar 2025
Direct dependencies3
Transitive dependenciesNot calculated

README

Version 1.0.1 documentation

AI GCM

A command-line tool that uses AI to generate meaningful git commit messages.

Features

  • Analyzes git diff to understand code changes
  • Generates human-readable summaries of changes
  • Creates conventional commit messages
  • Supports custom AI models
  • Interactive prompts for staging changes

Prerequisites

  1. Install Ollama:

    brew install ollama
    
  2. Pull required models:

    ollama pull qwen2.5-coder  # for code analysis
    ollama pull llama3.2       # for commit message generation
    

Installation

pipx install ai-gcm

Usage

Generate Commit Message

# Stage your changes first
git add .

# Generate commit message with default models
ai-gcm generate

# Show detailed output including code changes summary
ai-gcm generate --verbose

# Use custom models
ai-gcm generate --summary-model qwen2.5-coder --commit-model llama3.2

Options

  • --summary-model, -s: Model to use for code summary generation (default: qwen2.5-coder)
  • --commit-model, -c: Model to use for commit message generation (default: llama3.2)
  • --verbose, -v: Show detailed output including summary

Check Version

ai-gcm version

Development

  1. Clone the repository

  2. Install dependencies:

    poetry install
    
  3. Activate the virtual environment:

    poetry shell
    

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 3

Native requirements
3 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
click
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "<4.0,>=3.8",
  "evaluation": "NOT_EVALUATED"
}
click<9.0.0,>=8.1.7runtime
ollama
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "<4.0,>=3.8",
  "evaluation": "NOT_EVALUATED"
}
ollama<0.2.0,>=0.1.6runtime
pydantic
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "<4.0,>=3.8",
  "evaluation": "NOT_EVALUATED"
}
pydantic<3.0.0,>=2.0.0runtime

Distribution files

2 collected
ai_gcm-1.0.1-py3-none-any.whl

bdist_wheel · 8.96 KB · Python py3

Source file
ai_gcm-1.0.1.tar.gz

sdist · 5.56 KB · Python source

Source file

Repository

PENDING
zuhlke/ai-gcm

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 10:45 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:cb4eddf761fef667285aa2809f7cfddec98ac17417b3dd7ed6f2c3e478da9323

Other collected versions

View all collected versions →