Skip to main content

Various statistics on the pull requests in your repo.

Project description

Various statistics on the pull requests in your repo.

Usage

Usage:
   github-pr-stats [options] <user> <repo>
   github-pr-stats --version
   github-pr-stats (-h | --help)

Options:
   -h --help           Show this screen.
      --version        Print the program's installed version.
      --basic          Basic statistics about merged/closed rate.
      --days-open      Analyze number of days opened.
      --comments       Analyze number of comments created.
      --day-created    Analyze day of the week opened.
      --day-closed     Analyze day of the week closed.
      --hour-created   Analyze hour of the day opened.
      --hour-closed    Analyze hour of the day closed.
      --week-created   Analyze week opened.
      --week-closed    Analyze week closed.
      --user-creating  Analyze user who opened.
      --user-closing   Analyze user who closed.

Example

[$]> github-pr-stats --basic --user-creating ifixit itbrokeand.ifixit.com
 99.0% (20 of 20) closed pulls merged.
User Creating Pull Request
###############################################################################
████                                                         1  treyhunner
██████████████████████████████████████████████████████████  12  danielbeardsley
█████████████████████████████████                            7  xiongchiamiov

Installation

[$]> pip install github-pr-stats

or

[$]> easy_install github-pr-stats

Hacking

I highly recommend using virtualenv:

[$]> virtualenv --no-site-packages --distribute env
[$]> source env/bin/activate
[$]> pip install -r requirements.txt
[$]> pip install -e . # So we can import the version from inside bin/ .

Project details


Download files

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

Files for github-pr-stats, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size github-pr-stats-0.1.0.tar.gz (5.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page