Metadata-Version: 2.1
Name: commitgpt
Version: 0.2.0
Summary: commitgpt assists developers in generating high-quality commit messages for their version control systems, such as git.
License: LICENSE
Author: Rodney Osodo
Author-email: socials@rodneyosodo.com
Requires-Python: >=3.11,<4.0
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: gitpython (>=3.1.32,<4.0.0)
Requires-Dist: openai (>=0.27.10,<0.28.0)
Requires-Dist: pre-commit (>=3.4.0,<4.0.0)
Requires-Dist: pytest (>=7.4.1,<8.0.0)
Requires-Dist: typer[all] (>=0.9.0,<0.10.0)
Description-Content-Type: text/markdown

# commitgpt

commitgpt assists developers in generating high-quality commit messages for their version control systems, such as git.

## Features

- Generate commit messages from OpenAI's GPT-3 API based on the changes in the diff
- Configurable commit message guidelines
- Configurable OpenAI GPT-3 agent role

## Prerequisites

- An OpenAI API key
- Python 3.6 or higher
- Pip
- Git

## Installation

```bash
pip install commitgpt
```

## Usage

[![asciicast](https://asciinema.org/a/606115.svg)](https://asciinema.org/a/606115)

```bash
commitgpt setup
```

## Example

Make a change to a file, then run `git diff` to see the changes. Then, run `commitgpt` to generate a commit message.

```bash
commitgpt
```

## Contributing

See [CONTRIBUTING.md](CONTRIBUTING.md)

## License

[GNU GENERAL PUBLIC LICENSE](LICENSE)

