Metadata-Version: 2.3
Name: py-ai-commit
Version: 0.1.3
Summary: Automatic generation of commit messages using AI
Project-URL: Homepage, https://github.com/Ouvill/ai_commit
Project-URL: Issues, https://github.com/Ouvill/ai_commit/issues
Author-email: Ouvill <contact@ouvill.net>
License-File: LICENSE
Requires-Python: >=3.8
Requires-Dist: gitpython>=3.1.43
Requires-Dist: langchain-openai>=0.1.20
Requires-Dist: langchain>=0.2.12
Requires-Dist: python-dotenv>=1.0.1
Description-Content-Type: text/markdown

# py-ai-commit

Automatic generation of commit messages

## Install

```bash
pip install py-ai-commit
```

## Usage

Set your OpenAI API key as an environment variable.

Add this to your `.bashrc` or similar:

```bash
export OPENAI_API_KEY=sk-******************************
```

Execute the command in a git repository to create a commit message.

```bash
ai-commit
```

## Roadmap

- [ ] Add support for other AI models
- [ ] Add configuration options
- [ ] Add custom templates
- [ ] Add argument parsing
- [ ] Allow editing generated commit messages in an editor after creation
