PR Stats
PR-stats is an open-source python library that brings different functions to bring stats about pull requests.
Author: Kazi Amit Hasan
How to get your personal GitHub access token
You can follow the instructions from listed link to obtain such a token. Link: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
Project Description:
PR stats brings different statistics about pull requests.
Installation:
pip install pr-stats
Package available at https://pypi.org/project/pr-stats/
How to use:
All stats about pull requests: get_pull_requests("ownername", "reponame", "your_token")
Available features:
- id
- title
- state
- created_at
- updated_at
- closed_at
- lifetime_minutes
- first_comment_time
- first_response_time
- user_login
- user_name
- user_avatar_url
- head_ref
- head_sha
- head_repo_name
- base_ref
- base_sha
- base_repo_name
- merged_at
- reviewers
How to cite:
@online{PR-stats,
title={PR-stats},
url={https://pypi.org/project/pr-stats/},
urldate = {2023-01-06},
publisher={Kazi Amit Hasan}
}
Future Works:
- Add some more automations.
How to contribute:
Any contribution would be highly appreciated. Kindly go through the guidelines for contributing in github.