Git-pandas has gotten to be pretty capable. Currently in the master branch and soon to be in the v1.0.0 release, we’ve included a github.com interface to git-pandas via the GitHubProfile class. With this, in just a few lines of code, you can see how your profile has grown over time:
from gitpandas.utilities.plotting import plot_cumulative_blame from gitpandas import GitHubProfile g = GitHubProfile(username='wdm0006', ignore_forks=True, verbose=True) blame = g.cumulative_blame(branch='master', extensions=['py'], by='project', ignore_dir=['docs'], limit=None, skip=None) plot_cumulative_blame(blame)
Will give you:
Super simple, so check it out:
https://github.com/wdm0006/git-pandas
The post Github.com cumulative blame in 5 lines of python appeared first on Will’s Noise.