Coder Social home page Coder Social logo

githubsweng's Introduction

SWENG GitHub Data Visualisation

The home page is below where you can specify a repository to analyse. (Click for video demonstration).

Click image for demonstration

This app analyses repositories and compares impact of commits and churn of commtis (naively).

Sophisticated tools are generally used to analyse these metrics but I feel this is a good general indicator.

Here is a an example of a generated graph:

Graph of Tensorflow's Tensorflow repo

Each point is a user who has committed to the repository. 20 is the default number of committers to analyse.

  • Top Left: High Churn, Low Impact = Potentially struggling
  • Top Right: High Churn, High Impact = Exploring new solutions
  • Bottom Left: Low Churn, Low Impact = Perfectionism
  • Bottom Right: Low Churn, High Impact = Prolific

Many Github libraries offer quick access to the Committers of a repository but the committer and the author of a commit are often different users. Author seemed more useful as it was the user who actually wrote the code rather than just ok'd the merge.

This meant I had to manually process the data to get the authors which increased the load times.

To run

Create a github token and change the git_token variable to it. Then run with

python sweng.py

which should start it at http://127.0.0.1:8050/

Requirements

I used dash and plotly for the graphs and PyGithub as the Github API library

pip install plotly==4.3.0
pip install dash==1.6.1
pip install PyGithub
pip install pandas

Operator was also used

githubsweng's People

Contributors

mysupersuit avatar

Watchers

James Cloos avatar  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.