Github Contributor Matcher
Imagine you work at a company that has a lot of open source committers in many many projects. And now imagine you're responsible for the happys of some users that may use some of those projects. At times you might want to answer the question: "HEY! I work at <org>! Maybe there's someone at <org> who is working on <project>/<repository> that I can talk to about <repository>!"
This script attempts to answer that question.
Setup
Requirements:
- Python 3
- Pip
- A github account with a personal access token exported to the
GITHUB_TOKENenvironmental variable - A sense of wonder and curiosity
Want this to work? Follow the directions below. Doesn't work? File an issue.
Install
pip install github_contributor_matcher
Authorization:
Generate a personal access token via Github's Settings - Developer Settings - Personal Access Token page. Grant the token "repo" and "user". Export the token as an environmental variable "GITHUB_TOKEN":
export GITHUB_TOKEN=your_new_token
Confirm the token is set by echoing its value when running echo $GITHUB_TOKEN.
Usage
contributor_matcher <organization> <project> <repository>
example: contributor_matcher openshift kubernetes kubernetes would print all users in the kubernetes/kubernetes project that are associated to the "openshift" organization in github.
Contributors
@dannyzen @maxdotdotg
Thanks
@sigmavirus24 & the rest of the contributors on the github3.py project
License
Metadata
Release files for Github-Contributor-Matcher 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Github_Contributor_Matcher-0.1.2.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Github_Contributor_Matcher-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.8 kB
Release files / Github_Contributor_Matcher-0.1.2.tar.gz
| Download URL | Github_Contributor_Matcher-0.1.2.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d23f8d994d45bc83c0a47951af8702fccb5b55b158336bab5b9461138a0664f
|
|
BLAKE2b-256 checksum How to use checksums |
9de4a6a49b07de29c1be2d5bf53db7e66fbc952f696b9b013e656fe689db3369
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|
Release files / Github_Contributor_Matcher-0.1.2-py3-none-any.whl
| Download URL | Github_Contributor_Matcher-0.1.2-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
06479e5342195929f0fb89b8103eb6d8178d8fafc475dc60007341d487cd043a
|
|
BLAKE2b-256 checksum How to use checksums |
cc51db1e88e40aba8acf995544364dedf815fd7551fc10851c46e0a0d880c3b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|