https://github.com/henryiii/ghimpact
https://github.com/henryiii/ghimpact
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/henryiii/ghimpact
- Owner: henryiii
- Created: 2020-12-02T01:00:27.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-09T19:07:14.000Z (over 4 years ago)
- Last Synced: 2025-02-10T11:46:42.055Z (3 months ago)
- Language: Python
- Size: 36.1 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## GH Impact
Measure the impact a user has by counting PRs.
This is a [Poetry](https://python-poetry.org/docs/basic-usage/) project.
Install poetry using `pip install poetry` or `brew install peotry` if you use
homebrew.Run the following to prepare a virtual environment:
```bash
poetry install
```Then, make a yaml file for a specific user, giving a start date:
```bash
poetry run ghimpact get --user henryiii --output henryiii.yml --start-date 2019-03-01
```This will use the GH API - don't run too many times per hour or you will be
blocked for an hour. Next, convert the raw data into counts:```bash
poetry run ghimpact count henryiii.yml
```## Bonus: setup
To make a package like this one, use:
```bash
poetry new ghimpact
# Answer the prompts as requested
cd ghimact
gh repo create
```Almost everything will be ready for you.