本文共 828 字,大约阅读时间需要 2 分钟。
python github
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:
Git-pandas已经变得非常有能力。 当前位于master分支中,并且即将在v1.0.0版本中发布,我们已经通过GitHubProfile类包括了git-pandas的github.com接口。 这样,只需几行代码,您就可以查看您的个人资料如何随着时间增长:
from gitpandas.utilities.plotting import plot_cumulative_blamefrom gitpandas import GitHubProfileg = 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:
超级简单,所以检查一下:
翻译自:
python github
转载地址:http://bhqwd.baihongyu.com/