Small CLI to analyze PRs on the GitHub
Imagine that you work on a project, and your Pull Requests don't get reviewed fast enough. Is it just that odds were against you, or in this project Pull Requests are usually not reviewed in a timely fashion?
PR Analyzer is a small set of command line utilities for analyzing Pull Requests in the GitHub, and it should help you to find an answer for the question above.
Using PR Analyzer you will be able:
- Find out the list of open pull requests
- Get the statistics about lead time, time before a first comment for the Pull Requests in the repo
- Generate some nice reports from this statistics, or export this into other systems
Note: Please be aware that the tool is currently under active development.
You can install pr_analyzer using pip:
$ pip install pr-analyzer
GitHub token is required for the pr_analyzer to be able to use GitHub API:
$ set GITHUB_TOKEN=your_token_value
usage: $python list_prs.py [-h] [--created [created]] [--updated [updated]] [--top [top]] url [url ...] Prints list of open pull requests for given repositories positional arguments: url repository url optional arguments: -h, --help show this help message and exit --created [created] If given - will show PRs created more than `created` days ago --updated [updated] If given - will show PRs updated more than `updated` days ago --top [top] If given - returns up to `top` PRs starting from the oldest
Prints statistics about pull requests activity for given repositories positional arguments: url repository url optional arguments: -h, --help show this help message and exit
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pr_analyzer-0.1.3.tar.gz (4.5 kB)||File type Source||Python version None||Upload date||Hashes View hashes|