Project to get data from github pull requests
Project description
Github-pr-data
Project to get data from github pull requests and transfrom it to a format that can be used for
- Bookeeping of the comments
- Analysis of the comments
- AI analysis of the comments
- AI Categorization of the comments
Development setup
- Create a virtualenv with python3.6 (suggested location:
./virtualEnv) - Activate the virtualenv
source ./virtualEnv/bin/activate - Install requirements
pip install -r requirements.txt - Setup module in editable mode
pip install --editable .. Meaning no need to install the module every time when you want to change the code.
Reference
- Github API - https://docs.github.com/en/rest
- Github python SDK - https://pygithub.readthedocs.io/en/latest/
- Click command line interface - https://click.palletsprojects.com/en/8.0.x/documentation/
CLI ghpr
ghpr is the command line interface for the project.
Supported parameters:
This CLI supports the following parameters:
| Option | Description | Default value | Supported Values | Required |
|---|---|---|---|---|
| --token | The token to use for authentication. | Yes | ||
| --pr-link | This is the pull request number. | PR link | yes | |
| --copy | Copy output in markdown format | true | true/false |
No |
| --copy-csv | Copy output in csv format | false | true/false |
No |
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
ghpr-1.0.0.tar.gz
(4.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ghpr-1.0.0-py3-none-any.whl
(5.9 kB
view details)
File details
Details for the file ghpr-1.0.0.tar.gz.
File metadata
- Download URL: ghpr-1.0.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb23b63b61b02bede121b237e2971a2ea57b59349a7297e2afcd9bcb975dfa27
|
|
| MD5 |
93f381c6ae97d964a6a5ddf671904470
|
|
| BLAKE2b-256 |
ce7743f90a6460e228b2d8e527bfc8d6d8cbbb6b75cbc7985f103c5c02e0fd60
|
File details
Details for the file ghpr-1.0.0-py3-none-any.whl.
File metadata
- Download URL: ghpr-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e2e8c0d262e69ed940418d21b0a9f1cf2b74301d0e1df999e327eabc18af943
|
|
| MD5 |
85ba896b791539bcab11bca4fb10a0f6
|
|
| BLAKE2b-256 |
8665f55bbbcb72fac57ccd3fb41bd684115fd8a0b6af593c6e0681f28cdfb66e
|