gpt-commit
Generate commit messages using GPT-3. To use gpt-commit, simply invoke it whenever you'd use git commit. Git will prompt you to edit the generated commit message.
git add .
gpt-commit
Based on Markus' gpt-commit.
Installation
Minimum Python version required: 3.10.
pipx
This is the recommended installation method.
$ pipx install gpt-commit-cli
pip
$ pip install gpt-commit-cli
Getting Started
Set the environment variable OPENAI_API_KEY to your OpenAI API key, e.g. by adding the following line to your .bashrc.
export OPENAI_API_KEY=<YOUR API KEY>
export OPENAI_ORG_ID=<YOUR ORG ID> # optional
Develop
$ git clone https://github.com/tddschn/gpt-commit-cli.git
$ cd gpt-commit-cli
$ poetry install
Metadata
Release files for gpt-commit-cli 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gpt-commit-cli-0.1.1.tar.gz | 4.5 kB | Without provenance | Details for gpt-commit-cli-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gpt_commit_cli-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for gpt_commit_cli-0.1.1-py3-none-any.whl |
Total release size: 10.3 kB
Release files / gpt-commit-cli-0.1.1.tar.gz
| Download URL | gpt-commit-cli-0.1.1.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49b9ce73f78486e9c7502239136d3d18bc1ca70c57631b68e898c3584876ae92
|
|
BLAKE2b-256 checksum How to use checksums |
d66a579e7566fbf59bfb39b5ac5fbf36a5036ef9463a8d257006991d2a96afce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.1 CPython/3.10.5 Darwin/22.3.0
|
Release files / gpt_commit_cli-0.1.1-py3-none-any.whl
| Download URL | gpt_commit_cli-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cb4014e54dfaa9b05155719fff228c5ddf64310bc665cd742684034b533772c9
|
|
BLAKE2b-256 checksum How to use checksums |
de9ea8cfe91141692477432f2710c7f8c1dca2286fd91fad7ee1b339a6b4c984
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.1 CPython/3.10.5 Darwin/22.3.0
|
Security for gpt-commit-cli 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.