Catalog PyPI
PACKAGE EXPLORERView in registry

afila-pr-reviewer

PyPI

A tool for reviewing GitHub PRs using OpenAI, developed by AFILALABS

aicodegithubopenaipullrequestreview
Versions collected1
Direct dependencies3From release 0.1.0
Last observed20 Oct, 21:06 UTC

README

Version 0.1.0 documentation

AFILALABS PR Reviewer

A command-line tool developed by AFILALABS (Chicago) that reviews GitHub pull requests using OpenAI's GPT-4 API.

Features

  • Automatically analyzes pull requests from a GitHub URL
  • Reviews each file in the PR individually
  • Provides overall assessment of the PR
  • Can add comments directly to GitHub (optional)
  • Configurable through environment variables or config file

Installation

pip install afila-pr-reviewer

Requirements

  • Python 3.7+
  • GitHub personal access token with repo scope
  • OpenAI API key

Usage

Quick Start

First time setup:

pr-reviewer --setup

Review a PR:

pr-reviewer https://github.com/owner/repo/pull/123

Command line options

pr-reviewer https://github.com/owner/repo/pull/123 \
  --github-token your-github-token \
  --openai-key your-openai-api-key \
  --comment \  # Add comments to the PR
  --output review.md  # Save the review to a file

Environment Variables

You can use environment variables instead of passing tokens as arguments:

export GITHUB_TOKEN=your-github-token
export OPENAI_API_KEY=your-openai-api-key
pr-reviewer https://github.com/owner/repo/pull/123

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.06 Mar 20253

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
afilalabs/pr-reviewer

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:06 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:ffdccd288d3b29a279b1990c37b93c11a9abd2472338ceae7cff74851a4c63dd