Examine a GitHub user's profile, to help quickly decide how much to invest in their contributions.
Project description
gh-profiler
Many of us have received waves of open source contributions where many of the new "contributions" aren't worth engaging with. gh-profiler lets you quickly see a snapshot of the submitter's profile, and recent PR activity.
This meant to give you some quick context about how much to invest in reviewing the PR. It's not meant to give an immediate signal to close the PR or issue.
Running as a tool
If you have uv installed, you can run this as a tool against any GitHub user:
$ uvx gh-profiler ehmatthes
GitHub user: ehmatthes
🟢 Account age: 5058 days
🟢 Profile information:
name: Eric Matthes
company:
blog: https://www.mostlypython.com
location: western North Carolina
email: ehmatthes@gmail.com
bio:
🟢 ehmatthes has opened fewer than 10 PRs in the last 21 days.
If you're working in your local project directory, you can simply provide a PR or issue number. The tool will look up the PR or issue, identify the user who opened it, and give a report on that user:
$ uvx gh-profiler 8
GitHub user: ehmatthes
🟢 Account age: 5058 days
...
Installing and then running
You can also install the project, and then run the bare gh-profiler command:
(.venv) $ pip install gh-profiler
(.venv) $ gh-profiler ehmatthes
GitHub user: ehmatthes
🟢 Account age: 5058 days
...
When you've installed the project, you can also run it as a module:
$ python -m gh_profiler <username>
Maintaining
Add/ modify a requirement
- Add or modify a requirement by modifying pyproject.toml, or running
uv add <package>. - Then run
uv lock.
New releases
Update changelog and bump version, then:
$ uv lock
# Commit all changes.
$ git tag vX.Y.Z
$ git push origin vX.Y.Z
$ rm -rf dist/*
$ uv build
$ uv publish
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
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
File details
Details for the file gh_profiler-0.2.3.tar.gz.
File metadata
- Download URL: gh_profiler-0.2.3.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34d0eb6c2eb595bb578b94e7322c8bcb0312ef3a1f3c039abcf2ae7f4fa44700
|
|
| MD5 |
ddb44f485946a5462ae4e1cc114cdaed
|
|
| BLAKE2b-256 |
6febdf040bcbd9472683b6d7b364aea2c3bbf7b00185d15ae0de30b060f3313f
|
File details
Details for the file gh_profiler-0.2.3-py3-none-any.whl.
File metadata
- Download URL: gh_profiler-0.2.3-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cdc23ffd147c7c8cc651863aaebd758b0540bd1748eda5081f944828ef2d9cb
|
|
| MD5 |
6d53231544985de59076f1a5c40d958c
|
|
| BLAKE2b-256 |
b81d55a81f0b30a62a33af47a6d7909133bfee0f481c6c97a5d03a1f61312778
|