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.

lazy 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, 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.1.0.tar.gz (6.5 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.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lazym-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7cad157ab2c152ce015fe30343d50aa4516e3c9a88afd5b62881f55d39b31360
MD5 a5025882d0d3c2cab8382fb7d410b169
BLAKE2b-256 1228fc7f4334332f5517fe936f8aa63bcdd9754654e2e0fa2183a435ec960f5d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lazym-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f13ae3993d2cc1b19bd994cc9a359aedd6913ab088c2b8b11bf3bb7e44cb5da8
MD5 a8642bcf04ab0339f654aee7b907c62b
BLAKE2b-256 e794263a28eaee3dc5dfea26d9eebef7992916db44aa6ab6de4fc1d50d139b61

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