Skip to main content

A tool to generate commit messages using AI

Project description

lazym

lazym is an AI-powered tool that automatically generates meaningful commit messages for your Git repositories.

lazym is inspired by jen-Ya/commitgpt

Features

  • Generates commit messages based on staged changes
  • Without the risk of leaking code snippets to external LLM services
  • Integrates seamlessly with your Git workflow
  • Uses advanced language models for intelligent message generation

Requirements

Command to pull Llama 3.1:8b model for Ollama:

$ ollama run llama3.1:8b

Installation

To install lazym, follow these steps:

  1. Ensure you have Python 3.7+ and pip installed on your system.

  2. Install lazym using pip:

    pip install lazym
    
  3. After installation, navigate to any Git repository and run the following command to set up the Git hook:

    lazym install
    

    This will install the necessary Git hook to enable automatic commit message generation.

Usage

Once installed and set up, lazym works automatically when you make a commit. Simply stage your changes as usual and run git commit. lazym will generate a commit message based on your staged changes.

If you want to modify the generated message, you can edit it in the commit message editor that opens after generation.

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

lazym-0.3.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

lazym-0.3.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file lazym-0.3.0.tar.gz.

File metadata

  • Download URL: lazym-0.3.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for lazym-0.3.0.tar.gz
Algorithm Hash digest
SHA256 2b8e4b9909f6a6a0eafd75195e0f4d8e10b149b6cf4c6cafa681ba02b1d597ed
MD5 7f77ad711ee529dac59da672d5ebe675
BLAKE2b-256 5338f036a729f02c4978ac8f83f9fab1d52993f2500e06cf1f2a3646542a8440

See more details on using hashes here.

File details

Details for the file lazym-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: lazym-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for lazym-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ada002e6c51edb67d334f815488a429658d1fa5b037b0b9677be186a9875c712
MD5 cca6cd16d805f4d01457cf15eaffc2a5
BLAKE2b-256 d4c9bd01a73e72bbcab22bff388a93721688feacb712cf42dd2c6ca40ce8fae6

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