Skip to main content

Git staged-change AI review helper

Project description

Commit-wise

Open Source Commit and PR reviewer.

Install

Install the library from PyPI:

pip install commitwise-review

Install directly from the source repository:

pip install .

Install from GitHub:

pip install git+https://github.com/gokul-1998/Commit-wise.git

To force reinstall:

pip install --force-reinstall --no-cache-dir git+https://github.com/gokul-1998/Commit-wise.git

Versioning

This project uses Semantic Versioning:

MAJOR.MINOR.PATCH

Example release plan:

  • 0.1.0 — initial release
  • 0.2.0 — new features
  • 0.2.1 — bug fixes and prompt improvements
  • 1.0.0 — stable public release

CLI MVP (commit-wise)

This repository now includes a minimal local CLI for staged-change review.

Commands

commit-wise init
commit-wise review
commit-wise explain
commit-wise commit
commit-wise hooks install

The old gai alias is still available:

gai init
gai review
gai explain
gai commit
gai hooks install

What commit-wise review does

  • Reads staged files from git diff --cached --name-only
  • Reads staged diff from git diff --cached
  • Runs local analyzers when installed (ruff, mypy, pytest, bandit)
  • Prints actionable review suggestions and score in terminal

Security

gai init stores provider tokens in the system keyring (keyring package), not in plain-text config.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

commitwise_review-0.1.5.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

commitwise_review-0.1.5-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file commitwise_review-0.1.5.tar.gz.

File metadata

  • Download URL: commitwise_review-0.1.5.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for commitwise_review-0.1.5.tar.gz
Algorithm Hash digest
SHA256 125fd6fa1948d189846de77a021070b940a999665b66b2f44a8f4acfabad1e47
MD5 716bea7a944416283d73b3e4058a03a8
BLAKE2b-256 a4ca9fad7e3ec7ce22b5a7b4c4f65d86101ebe8acef8a5e6cd5efe68cde346c2

See more details on using hashes here.

File details

Details for the file commitwise_review-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for commitwise_review-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 dc759a5393390aea61a9cd31fe88381248c6a38a25fd83c874eb5044c8171ceb
MD5 c35d030f7c4fedbb4f2baa29fe8f15b2
BLAKE2b-256 6632b1f967d0e2f21e13122d6d469784ae43992da49e781e7dae704d04930852

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page