Skip to main content

PR-stats

Author MIT Contributions welcome Stars

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:

  1. id
  2. title
  3. state
  4. created_at
  5. updated_at
  6. closed_at
  7. lifetime_minutes
  8. first_comment_time
  9. first_response_time
  10. user_login
  11. user_name
  12. user_avatar_url
  13. head_ref
  14. head_sha
  15. head_repo_name
  16. base_ref
  17. base_sha
  18. base_repo_name
  19. merged_at
  20. 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:

  1. 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

Metadata

Release files for pr-stats 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pr-stats 0.0.3
File Size Uploaded Provenance Actions
pr_stats-0.0.3.tar.gz 3.4 kB Without provenance Details for pr_stats-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pr-stats 0.0.3
File Interpreter ABI Platform Actions
pr_stats-0.0.3-py3-none-any.whl Python 3 none any Details for pr_stats-0.0.3-py3-none-any.whl

Total release size: 7.0 kB

Release files / pr_stats-0.0.3.tar.gz

Download URL pr_stats-0.0.3.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f250c859a354016e2e4a6f043e78a0d38a505bec4c8153b6ad39f093d219b7ca
BLAKE2b-256 checksum
How to use checksums
e104e492a12750426a8c547cd3a0a66905157c0ae275564f8e6889caedeeee77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.7

Release files / pr_stats-0.0.3-py3-none-any.whl

Download URL pr_stats-0.0.3-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
95450ec70be7a466c81ffc0817501c8bb692a1fc026267055edad151e0ccb687
BLAKE2b-256 checksum
How to use checksums
e5d3f539b2f4548a324dc7cbc4b5cbd54ebaf2b6ceb35850b00f7352728f9695
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.7

Security for pr-stats 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page