Skip to main content

Generate commit messages using OpenAI GPT-3.

Project description

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

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

git-gpt-0.2.0.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

git_gpt-0.2.0-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page