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
- Ollama with Llama 3.1:8b model
- Git (version 2.0 or higher)
- Python 3.7 or above
Command to pull Llama 3.1:8b model for Ollama:
$ ollama run llama3.1:8b
Installation
To install lazym, follow these steps:
-
Ensure you have Python 3.7+ and pip installed on your system.
-
Install lazym using pip:
pip install lazym -
After installation, navigate to any Git repository and run the following command to set up the Git hook:
lazym installThis 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b8e4b9909f6a6a0eafd75195e0f4d8e10b149b6cf4c6cafa681ba02b1d597ed
|
|
| MD5 |
7f77ad711ee529dac59da672d5ebe675
|
|
| BLAKE2b-256 |
5338f036a729f02c4978ac8f83f9fab1d52993f2500e06cf1f2a3646542a8440
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ada002e6c51edb67d334f815488a429658d1fa5b037b0b9677be186a9875c712
|
|
| MD5 |
cca6cd16d805f4d01457cf15eaffc2a5
|
|
| BLAKE2b-256 |
d4c9bd01a73e72bbcab22bff388a93721688feacb712cf42dd2c6ca40ce8fae6
|