This tool fetches and analyzes pull request data from a specified GitHub repository, providing insights into:
- Weekly pull request activity (opened/closed).
- Pull requests stuck in review.
- Complexity of pull requests based on the number of changed files.
- Python 3.x
- GitHub Personal Access Token (PAT) with
repo
permissions.
-
Clone the repository:
git clone <repository_url> cd github_pr_tool
-
Install the required dependencies:
pip install -r requirements.txt
Run the tool using the following command:
python pr_tool.py <repository> <token>