This module brings different stats about pull requests using GitHub API.
Project description
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.
Change Log
0.0.1 (6/1/2023)
- First Release
0.0.2 (6/1/2023)
- instructions added
0.0.3 (6/1/2023)
- instructions added and typos fixed
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pr_stats-0.0.3.tar.gz
.
File metadata
- Download URL: pr_stats-0.0.3.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f250c859a354016e2e4a6f043e78a0d38a505bec4c8153b6ad39f093d219b7ca |
|
MD5 | affb942fc4bad7c1125cfa362c4dcbc7 |
|
BLAKE2b-256 | e104e492a12750426a8c547cd3a0a66905157c0ae275564f8e6889caedeeee77 |
File details
Details for the file pr_stats-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: pr_stats-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95450ec70be7a466c81ffc0817501c8bb692a1fc026267055edad151e0ccb687 |
|
MD5 | ddf805972b0fdc875f9df9397055509e |
|
BLAKE2b-256 | e5d3f539b2f4548a324dc7cbc4b5cbd54ebaf2b6ceb35850b00f7352728f9695 |