An AI Code Review tool using OpenAI
Project description
CodeCriticAI
CodeCriticAI is a tool for performing AI-powered code reviews using Git diffs. It leverages OpenAI's API to analyze code changes and generate detailed reviews.
Features
- Analyzes code changes using Git diffs
- Utilizes OpenAI's API for code review
- Generates HTML reports of the code review
Requirements
- Python 3.6+
- OpenAI API key
- Git
Installation
-
Clone the repository:
git clone https://github.com/mihir20/CodeCriticAI.git cd CodeCriticAI
-
Install the required Python packages:
pip install -r requirements.txt
-
Set up your OpenAI API key:
export OPENAI_API_KEY='your-api-key'
Usage
Run the main script with the required arguments:
python codecriticAI/main.py --dir <directory_path> [--base <base_branch>]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file codecriticai-0.0.1.tar.gz.
File metadata
- Download URL: codecriticai-0.0.1.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bc2f7a9100e0eb9b11e585fabf2dc21c4e9f25967041e3cdc2350c8a0458f8b
|
|
| MD5 |
97190b54cb6904e0360e45bb2e0721cd
|
|
| BLAKE2b-256 |
bc9123646f37215ff483c47396a4bda0d0651e8548f89c9932304856044379c8
|
File details
Details for the file codecriticai-0.0.1-py3-none-any.whl.
File metadata
- Download URL: codecriticai-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48591e182b457ad3bc3b56b6f98a5cffc656fe322c5b5f2effbb49748e0b7583
|
|
| MD5 |
04456447c3503b0e2676e8fc54066ba7
|
|
| BLAKE2b-256 |
afa2d23f1d828dbab34b81f60b6b14d800406119dbcb5c57daddcaaa6aa5dd7d
|