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.3.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

git_gpt-0.3.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file git-gpt-0.3.0.tar.gz.

File metadata

  • Download URL: git-gpt-0.3.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for git-gpt-0.3.0.tar.gz
Algorithm Hash digest
SHA256 c3ccece3de3f143e31acf686388441996fdd9a4a882c02d8bc1f2ea3862126b8
MD5 3e617c7da822989c0eb65af41c62af57
BLAKE2b-256 2e47461528adf568e5df70a58332b8b30fd584772d7df08e398f7fec0d08aab5

See more details on using hashes here.

File details

Details for the file git_gpt-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: git_gpt-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for git_gpt-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf3edb89c5c1503e40b71b387bf8f3eee92df4b41a9757bf8beb9488520cdd3f
MD5 10d9e36033abfee40f3f1bf989f6fed9
BLAKE2b-256 7e2f063e4e1233b4f913135e9843ede2668f9ae59f9abf9be491e55d194ba937

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