PVMismatch#

[1]:
import utils
from bokeh.io import output_notebook
from bokeh.plotting import show
[2]:
output_notebook()
Loading BokehJS ...

GitHub#

[3]:
gh = utils.get_github_stars('sunpower/pvmismatch')
[4]:
p = utils.plot_github_stars_timeseries(gh)
show(p)
[5]:
contributor_ts, _ = utils.get_github_contributor_timeseries("sunpower/pvmismatch")
p = utils.plot_github_contributors_timeseries(contributor_ts)
show(p)
---------------------------------------------------------------------------
Exception                                 Traceback (most recent call last)
Cell In[5], line 1
----> 1 contributor_ts, _ = utils.get_github_contributor_timeseries("sunpower/pvmismatch")
      2 p = utils.plot_github_contributors_timeseries(contributor_ts)
      3 show(p)

File ~/work/pv-foss-engagement/pv-foss-engagement/sphinx/source/project/utils.py:183, in get_github_contributor_timeseries(repo, max_retries, retry_delay)
    181         break
    182 else:
--> 183     raise Exception("Could not fetch contributor data")
    185 commits_by_week = {}
    186 first_commit_dates = []

Exception: Could not fetch contributor data
[6]:
contributors = utils.get_github_contributors('sunpower/pvmismatch')
[7]:
mosaic = utils.make_github_contributors_mosaic(contributors)
mosaic
[7]:
../_images/project_pvmismatch_8_0.png