Metadata-Version: 2.4
Name: gcommitai
Version: 0.1.0
Summary: AI-powered git commit and PR description generator
Home-page: https://github.com/YOUR_USERNAME/gitai
Author: Your Name
Author-email: your@email.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Software Development :: Version Control :: Git
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: anthropic>=0.25.0
Requires-Dist: click>=8.0.0
Requires-Dist: rich>=13.0.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

\# gitai



AI-powered git commit message and PR description generator.



Reads your `git diff` and generates a conventional commit message in seconds.



\## Install



```bash

pip install gitai

export ANTHROPIC\_API\_KEY="your-key-here"

```



\## Usage



```bash

\# Generate a commit message for staged changes

gitai commit



\# Stage everything and commit in one step  

gitai commit --auto



\# Preview without committing

gitai commit --dry-run



\# Generate a PR description vs main branch

gitai pr



\# PR description vs a different branch

gitai pr --base develop

```



\## Example output



```

â•­â”€â”€â”€ Suggested commit â”€â”€â”€â•®

â”‚ feat(auth): add OAuth2  â”‚

â”‚ login with Google       â”‚

â•°â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â•¯

Use this message? \[y/n]:

```



\## Requirements



\- Python 3.10+

\- An Anthropic API key (get one free at console.anthropic.com)



\## License



MIT

