Coder Social home page Coder Social logo

rickstaa / org-contributors-contributions-overview Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 7 KB

A small Python script to fetch GitHub contributions by organization members and open-source contributors of a GitHub organization.

License: MIT License

Python 100.00%
csv github github-data github-rest-api github-statistics python

org-contributors-contributions-overview's Introduction

Org Contributors Contributions Overview

This Python script fetches GitHub contributions data for both organization members and open-source contributors of a specified GitHub organization. The data is then exported into two separate CSV files.

Prerequisites

  1. Python 3.6 or higher. If you don't have Python installed, you can download it from python.org.
  2. A GitHub access token. This should be stored in an environment variable named GITHUB_ACCESS_TOKEN. If you don't have a token, you can create one by following the instructions in the GitHub documentation.

Usage

  1. Clone this repository and navigate into its directory.

  2. Add the GitHub access token to an environment variable named GITHUB_ACCESS_TOKEN.

  3. Run the script by using the following command:

    python main.py --org <organization name>

Replace <organization name> with the name of the GitHub organization you want to fetch contributions data for.

Output

The script will generate two CSV files:

  1. org_members_contributions.csv: Contains contributions data for members of the specified organization.
  2. open_source_contributors_contributions.csv: Contains contributions data for open-source contributors to the specified organization's repositories.

Each row in the CSV files represents a contributor and their contributions data.

org-contributors-contributions-overview's People

Contributors

rickstaa avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.