Skip to main content

Builds a smart commit message using LLMs

Project description

Smart Commit Msg

A tool that creates smart commit messages using the git diff.

Usage

Install the CLI

$ pip install smart-commit-msg

Go to a git repository

$ git add .
$ smart-commit-msg

Smart commit msg gives you a commit message based on the staged changes.

Tool Help

NAME
    smart-commit-msg - Main function that orchestrates the commit message generation and user interaction.

SYNOPSIS
    smart-commit-msg <flags>

DESCRIPTION
    Main function that orchestrates the commit message generation and user interaction.

FLAGS
    --model=MODEL
        Default: 'meta-llama/Llama...
    --max_tokens=MAX_TOKENS
        Default: 100

Models

This tool uses the huggingface_hub.InferenceClient API. So you can use all the models that support the inference endpoints!

To know more about inference endpoints please read the official documentation.

References

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

smart_commit_msg-0.1.1.tar.gz (53.0 kB view details)

Uploaded Source

Built Distribution

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

smart_commit_msg-0.1.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file smart_commit_msg-0.1.1.tar.gz.

File metadata

  • Download URL: smart_commit_msg-0.1.1.tar.gz
  • Upload date:
  • Size: 53.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.21

File hashes

Hashes for smart_commit_msg-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9d0f7b0701537bd8dbb424fb29f266a94517740a54876f3e939ef1315b11e1fe
MD5 3e5129321ecc99fa46c6067f8d21cbc6
BLAKE2b-256 32f734073653f4320cac395bb581840b213e1af0326b395daab531df147d97ae

See more details on using hashes here.

File details

Details for the file smart_commit_msg-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for smart_commit_msg-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 536aa4e2f589083c43b1f861e8dd251cd5385d3a4221bc237e477b090afca024
MD5 a6808a16ea9fb63e4e1755da7dbe3f5a
BLAKE2b-256 e034e5177babc4efef46842980c760ed5adc66a94d3cca0b2ca61378147fa9d6

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