Skip to main content

Display statistics of pull request reviewers for your project

Project description


Take a sip of coffee, kick back and enjoy pull request stats from your project!

Installation

System

Install and update using pip:

$ pip install reviewio

Reviewio supports Python 3.4 and newer.

Local and development

Make sure you have python and python-pip installed. From the project folder run:

$ pip install -r requirements.txt

Configuration

This tool uses PyGithub library for communication with GitHub. Authentication is handled by providing environmental variable GITHUB_TOKEN which should be generated using instructions from github help pages.

export GITHUB_TOKEN='{TOKEN}'

Usage

In order to preview stats you'll need to supply project name.

Optionally you can filter by open, closed or all pull requests. If you want you can also filter by label name.

$ reviewio show django/django
Processing Pull Requests  [####################################]  100%

Reviewers ranking:
adamchainz           [######--------------------------------------]    15.4% (2)
apollo13             [######--------------------------------------]    15.4% (2)
jeffyancey           [###-----------------------------------------]     7.7% (1)
charettes            [###-----------------------------------------]     7.7% (1)
felixxm              [###-----------------------------------------]     7.7% (1)
MarkusH              [###-----------------------------------------]     7.7% (1)
levidyrek            [###-----------------------------------------]     7.7% (1)
auvipy               [###-----------------------------------------]     7.7% (1)
ryanhiebert          [###-----------------------------------------]     7.7% (1)
evildmp              [###-----------------------------------------]     7.7% (1)
jarshwah             [###-----------------------------------------]     7.7% (1)

Creators ranking:
claudep              [##------------------------------------------]     6.0% (9)
charettes            [#-------------------------------------------]     3.4% (5)
orf                  [#-------------------------------------------]     3.4% (5)
sir-sigurd           [--------------------------------------------]     2.0% (3)
jschneier            [--------------------------------------------]     2.0% (3)
codingjoe            [--------------------------------------------]     2.0% (3)
Windsooon            [--------------------------------------------]     1.3% (2)
alexh546             [--------------------------------------------]     1.3% (2)
...

Hint

You can use this super secret commands:

  • To get list of repositories
$ reviewio repos
  • To get list of labels for given repository
$ reviewio labels django/django

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

reviewio-0.1.4.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

reviewio-0.1.4-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

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