Skip to content

Create detailed and summary CSV reports of activity by a GitHub user, using the GraphQL API πŸ‘¨β€πŸ’» πŸ“Š 🐍

License

Notifications You must be signed in to change notification settings

Isaac-DeFrain/github-reporting-py

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

GitHub Reporting Tool πŸ‘¨β€πŸ’» πŸ“Š 🐍

Create detailed and summary CSV reports of activity by a GitHub user, using the GraphQL API

GitHub tag License

Made with Python API - GitHub GraphQL

Quick start

Say you just want to get a CSV file of all your commits on the deafult branch of a repo.

  1. cd ghgql
  2. Set your GitHub access token in etc/app.local.yml
  3. Run python config.py
  4. Run your commit query via
python repo_commits.py REPO_OWNER REPO_NAME COMMITTER -o OUTPUT_DIR -s START_DATE -e END_DATE

This app is currently limited to querying commits from the default branch of a repo.

Purpose

This tool was created to:

  • Explore the GitHub GraphQL API for fun.
  • Output CSV reports around repos, users and commits - all within a target GH user or organization.
  • Act as a wrapper on requests and formatting, so you can focus on writing or using a query and getting the data out as a CSV.
  • Act an easy CLI for anyone - without caring about what language the tool is implemented in (other than installing initially).

Documentation

View docs

Contributing

If you want to make the project better, see the contribution guidelines.

License

Released under MIT by @MichaelCurrin.

About

Create detailed and summary CSV reports of activity by a GitHub user, using the GraphQL API πŸ‘¨β€πŸ’» πŸ“Š 🐍

Resources

License

Stars

Watchers

Forks

Languages

  • Python 97.0%
  • Makefile 2.4%
  • Shell 0.6%