Skip to main content

Identify contributors of a repo, given their organization

Project description

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_TOKEN environmental 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

Apache License, Version 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Github-Contributor-Matcher, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size Github_Contributor_Matcher-0.1.2-py3-none-any.whl (7.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size Github_Contributor_Matcher-0.1.2.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page