Skip to main content

git-gpt

Generate commit messages using OpenAI GPT-3.

Configuration

Generate your OpenAI secret API key and set it to an environment variable named OPENAI_API_KEY.

For more information, read Where do I find my Secret API Key?

Installation

Install using pip:

pip install git-gpt

Usage

To use it as a command-line script:

git-gpt commit

or:

python -m git_gpt commit

For more information, refer to help:

usage: git-gpt [-h] [--dry-run] command

Run git commands with the assistance of OpenAI GPT-3.

positional arguments:
  command     a git command e.g. commit

options:
  -h, --help  show this help message and exit
  --dry-run   prints the output of the command instead of running it

Metadata

Release files for git-gpt 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for git-gpt 0.3.0
File Size Uploaded
git-gpt-0.3.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for git-gpt 0.3.0
File Interpreter ABI Platform
git_gpt-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.4 kB

Release files / git-gpt-0.3.0.tar.gz

Download URL git-gpt-0.3.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c3ccece3de3f143e31acf686388441996fdd9a4a882c02d8bc1f2ea3862126b8
BLAKE2b-256 checksum
How to use checksums
2e47461528adf568e5df70a58332b8b30fd584772d7df08e398f7fec0d08aab5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / git_gpt-0.3.0-py3-none-any.whl

Download URL git_gpt-0.3.0-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf3edb89c5c1503e40b71b387bf8f3eee92df4b41a9757bf8beb9488520cdd3f
BLAKE2b-256 checksum
How to use checksums
7e2f063e4e1233b4f913135e9843ede2668f9ae59f9abf9be491e55d194ba937
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page