A CLI tool to suggest commit messages
Project description
Porunga - A CLI tool to suggest commit messages
A simple tool to suggest commit messages.
Prerequisites
- Make sure you are using Python version >3.11
- This tool requires OPENAI API Key to work. Please see this
Installation
pip install porunga
Usage
- To see a list of commands availabe to use:
porunga --help
- To get information about a specific command , use:
porunga COMMAND --help
Example:
porunga set-env --help
- To set env variables, it is recommended to use set-env command
porunga set-env OPENAI_API_KEY=sk-....
You can set the following env variables that this tool uses:
OPENAI_API_KEY: API key from OpenAIPORUNGA_MODEL_NAME: Open AI Model to usePORUNGA_MODE: Eithercostorpreciseorbalanced. It is recommended to precise for the best results
This CLI tool uses gpt-4o by default, which is recommended.
- To get suggestions
porunga suggest FILEPATH -n 2
This generates 2 suggestions for the particular uncommitted changes.
Warning
The results generated by this tool can be unpredictable and may produce inconsistent results. Users are advised to review and verify the suggestions before using them.
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 porunga_cli-0.1.2.tar.gz.
File metadata
- Download URL: porunga_cli-0.1.2.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.5.0-1022-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e4f413b0efaedf4b76824d34e2d9f4c0c5e64dea36234e8ed5f9ec06a6e0cae
|
|
| MD5 |
16b85e0465b62eba8fcbe6b2dc48efe9
|
|
| BLAKE2b-256 |
9950ed887bd02fc1d5e04d93c2efe16955b1d1c45ddfc6ecf209feb17d6cd3a5
|
File details
Details for the file porunga_cli-0.1.2-py3-none-any.whl.
File metadata
- Download URL: porunga_cli-0.1.2-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.5.0-1022-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9d8afd3a998791b4c6ddfc0946d85d26550830e056246c762af5f613ca338e1
|
|
| MD5 |
1bd1b7ffc0a1b28679794677fd20a886
|
|
| BLAKE2b-256 |
0367d7ab6df46ae0978a0e8f192a63961fab8dce1ccc0e49dc60fea9cf6c8885
|