Metadata-Version: 2.1
Name: commit-crafter-ai
Version: 1.0.3
Summary: AI-powered commit message generator
Home-page: https://github.com/SerhatUzbas/commit-crafter-ai/
Author: Serhat Uzbas
Author-email: serhatuzbas@gmail.com
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: typer[all]
Requires-Dist: langchain-openai==0.2.12
Requires-Dist: langchain==0.3.12
Requires-Dist: langchain-core==0.3.25
Requires-Dist: langchain-text-splitters==0.3.3
Requires-Dist: langsmith==0.2.3
Requires-Dist: openai==1.57.4

# commit-crafter-ai

Ai tool to craft commit from terminal.

## Installation

```bash
pip install commit-crafter-ai
```

## Usage

```bash
commit-crafter-ai craft
```

## License

This project is licensed under the MIT License - see the LICENSE file for details.

## Features

- Generates clear and concise commit messages
- Follows conventional commit format
- Provides detailed descriptions of changes
- Easy to use command-line interface

## Requirements

- Python 3.7+
- OpenAI API key

## Upload to PyPI

```bash
python -m twine upload dist/*
```

## Setup

1. Export your OpenAI API key:

```bash
# Linux/macOS
export OPENAI_API_KEY="your-api-key-here"

# Windows (Command Prompt)
set OPENAI_API_KEY=your-api-key-here

# Windows (PowerShell)
$env:OPENAI_API_KEY="your-api-key-here"
```

2. The API key can also be added to your shell configuration file (~/.bashrc, ~/.zshrc, etc.) for persistence:

```bash
echo 'export OPENAI_API_KEY="your-api-key-here"' >> ~/.bashrc  # or ~/.zshrc
```
