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.1.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.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lazym-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 ad73f5843146622d073a2f96c37b17ea333788e56dc8a9b41a321746f3536d51
MD5 07b8c97b17f45a85d80ef3e58cab9b27
BLAKE2b-256 ac63ffed53301f52f91b1579a36dc8c68cf4feef8e7fbec5eaec4e3d6ae9745e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lazym-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 be273f3c83aa9ca4f43aa5a97ed3cbb499bc381bbf3217800756111f72e75d60
MD5 8606bf423efd00dae6395090deb97eb4
BLAKE2b-256 a4d0456f4fdfed0e23592879831fb6eaa683d93cdd96003a89d6fcb993f9a0b8

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