Skip to main content

Codara Code Review and Diagnostics Tool

This script assists in AI code review and diagnosis by using tailored AI models to intelligently provide suggestions and improvements. Purchase a subscription at codara.io

Subscribe to use this tool: codara.io

Plan Price Description Link
Basic $4/month - 14 day free trial
- unlimited reviews
- diagnostic feature
- review unstaged code
- locally saved reviews
Free Trial

Features

  • Review the code differences between two branches in a Git repository.
  • Review unstaged code diffs.
  • Generate a formatted review file with a timestamp and the branch commit hash.
  • Diagnose code issues directly in the terminal by providing the command to debug.

Prerequisites

  • Python 3.6 or later.
  • Git must be installed and configured on the system where the script is executed.

Installation

pip install codara

Help and Documentation

codara --help

Login

an active subscription is required to use this tool: codara.io

register or login with the below command using the same email used to purchase your subscription

codara --login

Usage

To use the AI review feature run the following command:

codara review --unstaged

or the short version (shorthands available for all commands)

codara review -u

or review between two branches like a pull request

codara review --target <target_branch>

get help

codara review --help

To use the AI diagnostic feature run the following command:

codara diagnose "<command-producing-error>"

get help

codara diagnose --help

Output

The AI reviewer will create a new file in the reviews directory with the review output. The file will be named using the source and target branch names, their respective commit hashes, and a timestamp.

The AI diagnostics will create a new file in the diagnostics directory with the diagnostic output. The file will be named using the command provided and a timestamp.

Example review filename: feature-branch_abc123_to_main_def456_2023-11-15_23-31-56.txt

Example diagnostic filename: diagnose_command_2023-11-15_23-31-56.txt

Metadata

Release files for codara 2.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codara 2.0.6
File Size Uploaded
codara-2.0.6.tar.gz 12.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for codara 2.0.6
File Interpreter ABI Platform
codara-2.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 33.1 kB

Release files / codara-2.0.6.tar.gz

Download URL codara-2.0.6.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3b02348d2658d9745c9891996de0a2ee15aac37a5128b665c62482eaa831c5e7
BLAKE2b-256 checksum
How to use checksums
eeeea87df6db5f6086f93a4ea341ab80f8ece0931cb8d38a19c06ccc0307e4f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.10

Release files / codara-2.0.6-py3-none-any.whl

Download URL codara-2.0.6-py3-none-any.whl
Size 20.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b2d6bb33071ced4149fabd051de27fe5c9f86ae7ae65774b039897367f89dc7
BLAKE2b-256 checksum
How to use checksums
fffb95a0aae65e1174c3ed5db3bdf28c1f31fb60804ee66c7373eb019b23a3ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.10

Release history Release notifications | RSS feed

This release

2.0.6 This release

2 release files

2.0.5

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.2

2 release files

0.1

2 release files

0.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page