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.2.0.tar.gz (6.7 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.2.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lazym-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b3141dc148087161d7159d20e1b99b21a1110a60eaa354be90266d39efea3f8c
MD5 96746078faca1228da0b0d676891bed5
BLAKE2b-256 c89c91152d34bd366893f1bab70fa152144836d0db304ca11f6ecf2eb3dce09a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lazym-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2ff5b8939521a85d67b98eef891a4953260214bcea5f059098f38842c19c7f8
MD5 629709b9411dcc4665934cd31a603d64
BLAKE2b-256 7a6e908e527922413f735b45fab8c58e14da646667878940bfbe4062fadada44

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