diff --git a/.github/workflows/update-pages.yml b/.github/workflows/update-pages.yml index 5ef5b540..abc1bdb5 100644 --- a/.github/workflows/update-pages.yml +++ b/.github/workflows/update-pages.yml @@ -40,6 +40,16 @@ jobs: --verbose \ . + - name: nb-clean + run: | + output=$(find . -name '*.ipynb' -exec nb-clean check {} \;) + + # fail if there are any issues + if [ -n "$output" ]; then + echo "$output" + exit 1 + fi + update_pages: runs-on: ubuntu-latest steps: diff --git a/README.md b/README.md index 1785da57..1b2975e0 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A Jupyter notebook that creates a dashboard for viewing LizardByte repository da 1. Notebooks should be committed with the output cleared. ```bash - jupyter nbconvert --to notebook --ClearOutputPreprocessor.enabled=True --inplace ./notebook/dashboard.ipynb + find . -name '*.ipynb' -exec nb-clean clean {} \; ``` 2. You can create a preview of the notebook in html by running the following commands: @@ -22,3 +22,11 @@ A Jupyter notebook that creates a dashboard for viewing LizardByte repository da --output=index \ ./notebook/dashboard.ipynb ``` + +### Reviewing PRs +Notebook diffs are difficult to read. To make reviewing easier, you can enable the +[Rich Jupyter Notebook Diff](https://github.blog/changelog/2023-03-01-feature-preview-rich-jupyter-notebook-diffs/) +feature in your GitHub account settings. + +Local options are also available. See [this](https://www.reviewnb.com/git-jupyter-notebook-ultimate-guide) +for more information. diff --git a/notebook/dashboard.ipynb b/notebook/dashboard.ipynb index 0c891940..9aac083d 100644 --- a/notebook/dashboard.ipynb +++ b/notebook/dashboard.ipynb @@ -1,8 +1,9 @@ { "cells": [ { - "metadata": {}, "cell_type": "markdown", + "id": "4aed1755a10d75d7", + "metadata": {}, "source": [ "
\n", "

LizardByte Developer Dashboard

\n", @@ -65,18 +66,14 @@ "
\n", "\n", "## Repository Data" - ], - "id": "4aed1755a10d75d7" + ] }, { - "metadata": { - "collapsed": true, - "jupyter": { - "outputs_hidden": true, - "source_hidden": true - } - }, "cell_type": "code", + "execution_count": null, + "id": "initial_id", + "metadata": {}, + "outputs": [], "source": [ "# Initialize the environment\n", "\n", @@ -193,25 +190,22 @@ "print(f'Total Open PRs: {df[\"prs\"].apply(len).sum()}')\n", "print(f'Open issues in active repositories: {df_repos[\"issues\"].apply(len).sum()}')\n", "print(f'Open PRs in active repositories: {df_repos[\"prs\"].apply(len).sum()}')" - ], - "id": "initial_id", - "outputs": [], - "execution_count": null + ] }, { - "metadata": {}, "cell_type": "markdown", - "source": "### Star Gazers", - "id": "616d87e4b0c3dea5" + "id": "616d87e4b0c3dea5", + "metadata": {}, + "source": [ + "### Star Gazers" + ] }, { "cell_type": "code", + "execution_count": null, "id": "337aca37b216cc0d", - "metadata": { - "jupyter": { - "source_hidden": true - } - }, + "metadata": {}, + "outputs": [], "source": [ "# Stars\n", "df_stars = df_repos.sort_values(\n", @@ -235,13 +229,14 @@ " yaxis_showticklabels=False,\n", ")\n", "fig.show()" - ], - "outputs": [], - "execution_count": null + ] }, { - "metadata": {}, "cell_type": "code", + "execution_count": null, + "id": "a08398efe666a399", + "metadata": {}, + "outputs": [], "source": [ "# Star History\n", "stargazer_data = []\n", @@ -273,25 +268,22 @@ ")\n", "\n", "fig.show()" - ], - "id": "a08398efe666a399", - "outputs": [], - "execution_count": null + ] }, { - "metadata": {}, "cell_type": "markdown", - "source": "### Forks", - "id": "d46c30581ed069fd" + "id": "d46c30581ed069fd", + "metadata": {}, + "source": [ + "### Forks" + ] }, { "cell_type": "code", + "execution_count": null, "id": "7c6ffc3f9b56adc6", - "metadata": { - "jupyter": { - "source_hidden": true - } - }, + "metadata": {}, + "outputs": [], "source": [ "# Forks\n", "df_forks = df_repos.sort_values(\n", @@ -315,24 +307,22 @@ " yaxis_showticklabels=False,\n", ")\n", "fig.show()" - ], - "outputs": [], - "execution_count": null + ] }, { - "metadata": {}, "cell_type": "markdown", - "source": "### Open Issues", - "id": "89ad81f3285c93d5" + "id": "89ad81f3285c93d5", + "metadata": {}, + "source": [ + "### Open Issues" + ] }, { "cell_type": "code", + "execution_count": null, "id": "ce4c9d640154b774", - "metadata": { - "jupyter": { - "source_hidden": true - } - }, + "metadata": {}, + "outputs": [], "source": [ "# Open Issues\n", "df_issues = df_repos.copy()\n", @@ -355,24 +345,22 @@ " yaxis_showticklabels=False,\n", ")\n", "fig.show()" - ], - "outputs": [], - "execution_count": null + ] }, { - "metadata": {}, "cell_type": "markdown", - "source": "### Open PRs", - "id": "63b0eb1841d850be" + "id": "63b0eb1841d850be", + "metadata": {}, + "source": [ + "### Open PRs" + ] }, { "cell_type": "code", + "execution_count": null, "id": "4f473fe7a839b01c", - "metadata": { - "jupyter": { - "source_hidden": true - } - }, + "metadata": {}, + "outputs": [], "source": [ "# Open PRs\n", "pr_data = []\n", @@ -417,24 +405,22 @@ " xaxis_title='Repository',\n", ")\n", "fig.show()" - ], - "outputs": [], - "execution_count": null + ] }, { - "metadata": {}, "cell_type": "markdown", - "source": "### License Distribution", - "id": "3c067ce1b06d52da" + "id": "3c067ce1b06d52da", + "metadata": {}, + "source": [ + "### License Distribution" + ] }, { "cell_type": "code", + "execution_count": null, "id": "2bd8913a09eb4802", - "metadata": { - "jupyter": { - "source_hidden": true - } - }, + "metadata": {}, + "outputs": [], "source": [ "# License distribution\n", "license_counts = df_repos.groupby(['license', 'repo']).size().reset_index(name='count')\n", @@ -448,24 +434,22 @@ " hover_data={'repo': True, 'count': False},\n", ")\n", "fig_treemap.show()" - ], - "outputs": [], - "execution_count": null + ] }, { - "metadata": {}, "cell_type": "markdown", - "source": "### Coverage", - "id": "1e7ac0186201244b" + "id": "1e7ac0186201244b", + "metadata": {}, + "source": [ + "### Coverage" + ] }, { "cell_type": "code", + "execution_count": null, "id": "c8dced4bcfff438", - "metadata": { - "jupyter": { - "source_hidden": true - } - }, + "metadata": {}, + "outputs": [], "source": [ "# Coverage\n", "df_coverage = df_repos.sort_values(\n", @@ -485,19 +469,22 @@ " xaxis_title='Repository',\n", ")\n", "fig_scatter.show()" - ], - "outputs": [], - "execution_count": null + ] }, { - "metadata": {}, "cell_type": "markdown", - "source": "### Programming Languages", - "id": "d9116f5c8e154dae" + "id": "d9116f5c8e154dae", + "metadata": {}, + "source": [ + "### Programming Languages" + ] }, { - "metadata": {}, "cell_type": "code", + "execution_count": null, + "id": "20e09d93eda0478a", + "metadata": {}, + "outputs": [], "source": [ "# Programming Languages by Bytes of Code\n", "language_data = []\n", @@ -573,25 +560,22 @@ " )\n", "\n", " fig.show()" - ], - "id": "20e09d93eda0478a", - "outputs": [], - "execution_count": null + ] }, { - "metadata": {}, "cell_type": "markdown", - "source": "### Documentation", - "id": "a520a320cd823874" + "id": "a520a320cd823874", + "metadata": {}, + "source": [ + "### Documentation" + ] }, { - "metadata": { - "ExecuteTime": { - "end_time": "2024-08-20T02:58:06.219404Z", - "start_time": "2024-08-20T02:58:06.066344Z" - } - }, "cell_type": "code", + "execution_count": null, + "id": "ec43a8fd7f9d49bb", + "metadata": {}, + "outputs": [], "source": [ "# Docs\n", "\n", @@ -661,2473 +645,7 @@ " )\n", "\n", " fig.show()" - ], - "id": "ec43a8fd7f9d49bb", - "outputs": [ - { - "data": { - "application/vnd.plotly.v1+json": { - "data": [ - { - "branchvalues": "total", - "domain": { - "x": [ - 0.0, - 1.0 - ], - "y": [ - 0.0, - 1.0 - ] - }, - "hovertemplate": "labels=%{label}
repo_count=%{value}
parent=%{parent}
id=%{id}", - "ids": [ - "True/.github", - "True/GSMS", - "True/LizardByte.github.io", - "True/RetroArcher", - "True/Sunshine", - "True/Themerr-jellyfin", - "True/Themerr-kodi", - "True/Themerr-plex", - "True/ThemerrDB", - "True/Virtual-Gamepad-Emulation-Bus", - "True/Virtual-Gamepad-Emulation-Client", - "True/Virtual-Gamepad-Emulation-dotnet", - "True/awesome-sunshine", - "False/build-deps", - "True/create-release-action", - "True/dashboard", - "False/db", - "True/doxyconfig", - "True/homebrew-homebrew", - "True/homebrew-release-action", - "True/jellyfin-plugin-repo", - "True/libdisplaydevice", - "True/nvapi-open-source-sdk", - "True/pacman-repo", - "True/setup-python-action", - "True/setup-release-action", - "True/shared-web", - "True/support-bot", - "True/support-bot-commands", - "True/template-base", - "True/tray", - "False/uno", - "True/update-changelog-action", - "False", - "True" - ], - "labels": [ - ".github", - "GSMS", - "LizardByte.github.io", - "RetroArcher", - "Sunshine", - "Themerr-jellyfin", - "Themerr-kodi", - "Themerr-plex", - "ThemerrDB", - "Virtual-Gamepad-Emulation-Bus", - "Virtual-Gamepad-Emulation-Client", - "Virtual-Gamepad-Emulation-dotnet", - "awesome-sunshine", - "build-deps", - "create-release-action", - "dashboard", - "db", - "doxyconfig", - "homebrew-homebrew", - "homebrew-release-action", - "jellyfin-plugin-repo", - "libdisplaydevice", - "nvapi-open-source-sdk", - "pacman-repo", - "setup-python-action", - "setup-release-action", - "shared-web", - "support-bot", - "support-bot-commands", - "template-base", - "tray", - "uno", - "update-changelog-action", - "False", - "True" - ], - "name": "", - "parents": [ - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "False", - "True", - "True", - "False", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "False", - "True", - "", - "" - ], - "values": [ - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 3, - 30 - ], - "type": "treemap" - }, - { - "branchvalues": "total", - "domain": { - "x": [ - 0.0, - 1.0 - ], - "y": [ - 0.0, - 1.0 - ] - }, - "hovertemplate": "labels=%{label}
repo_count=%{value}
parent=%{parent}
id=%{id}", - "ids": [ - "True/.github", - "True/GSMS", - "True/LizardByte.github.io", - "True/RetroArcher", - "True/Sunshine", - "True/Themerr-jellyfin", - "True/Themerr-kodi", - "True/Themerr-plex", - "True/ThemerrDB", - "True/Virtual-Gamepad-Emulation-Bus", - "True/Virtual-Gamepad-Emulation-Client", - "True/Virtual-Gamepad-Emulation-dotnet", - "True/awesome-sunshine", - "False/build-deps", - "True/create-release-action", - "True/dashboard", - "False/db", - "True/doxyconfig", - "True/homebrew-homebrew", - "True/homebrew-release-action", - "True/jellyfin-plugin-repo", - "True/libdisplaydevice", - "True/nvapi-open-source-sdk", - "True/pacman-repo", - "True/setup-python-action", - "True/setup-release-action", - "True/shared-web", - "True/support-bot", - "True/support-bot-commands", - "True/template-base", - "True/tray", - "False/uno", - "True/update-changelog-action", - "False", - "True" - ], - "labels": [ - ".github", - "GSMS", - "LizardByte.github.io", - "RetroArcher", - "Sunshine", - "Themerr-jellyfin", - "Themerr-kodi", - "Themerr-plex", - "ThemerrDB", - "Virtual-Gamepad-Emulation-Bus", - "Virtual-Gamepad-Emulation-Client", - "Virtual-Gamepad-Emulation-dotnet", - "awesome-sunshine", - "build-deps", - "create-release-action", - "dashboard", - "db", - "doxyconfig", - "homebrew-homebrew", - "homebrew-release-action", - "jellyfin-plugin-repo", - "libdisplaydevice", - "nvapi-open-source-sdk", - "pacman-repo", - "setup-python-action", - "setup-release-action", - "shared-web", - "support-bot", - "support-bot-commands", - "template-base", - "tray", - "uno", - "update-changelog-action", - "False", - "True" - ], - "name": "", - "parents": [ - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "False", - "True", - "True", - "False", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "True", - "False", - "True", - "", - "" - ], - "values": [ - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 3, - 30 - ], - "type": "sunburst", - "visible": false - } - ], - "layout": { - "template": { - "data": { - "histogram2dcontour": [ - { - "type": "histogram2dcontour", - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "colorscale": [ - [ - 0.0, - "#0d0887" - ], - [ - 0.1111111111111111, - "#46039f" - ], - [ - 0.2222222222222222, - "#7201a8" - ], - [ - 0.3333333333333333, - "#9c179e" - ], - [ - 0.4444444444444444, - "#bd3786" - ], - [ - 0.5555555555555556, - "#d8576b" - ], - [ - 0.6666666666666666, - "#ed7953" - ], - [ - 0.7777777777777778, - "#fb9f3a" - ], - [ - 0.8888888888888888, - "#fdca26" - ], - [ - 1.0, - "#f0f921" - ] - ] - } - ], - "choropleth": [ - { - "type": "choropleth", - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - } - ], - "histogram2d": [ - { - "type": "histogram2d", - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "colorscale": [ - [ - 0.0, - "#0d0887" - ], - [ - 0.1111111111111111, - "#46039f" - ], - [ - 0.2222222222222222, - "#7201a8" - ], - [ - 0.3333333333333333, - "#9c179e" - ], - [ - 0.4444444444444444, - "#bd3786" - ], - [ - 0.5555555555555556, - "#d8576b" - ], - [ - 0.6666666666666666, - "#ed7953" - ], - [ - 0.7777777777777778, - "#fb9f3a" - ], - [ - 0.8888888888888888, - "#fdca26" - ], - [ - 1.0, - "#f0f921" - ] - ] - } - ], - "heatmap": [ - { - "type": "heatmap", - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "colorscale": [ - [ - 0.0, - "#0d0887" - ], - [ - 0.1111111111111111, - "#46039f" - ], - [ - 0.2222222222222222, - "#7201a8" - ], - [ - 0.3333333333333333, - "#9c179e" - ], - [ - 0.4444444444444444, - "#bd3786" - ], - [ - 0.5555555555555556, - "#d8576b" - ], - [ - 0.6666666666666666, - "#ed7953" - ], - [ - 0.7777777777777778, - "#fb9f3a" - ], - [ - 0.8888888888888888, - "#fdca26" - ], - [ - 1.0, - "#f0f921" - ] - ] - } - ], - "heatmapgl": [ - { - "type": "heatmapgl", - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "colorscale": [ - [ - 0.0, - "#0d0887" - ], - [ - 0.1111111111111111, - "#46039f" - ], - [ - 0.2222222222222222, - "#7201a8" - ], - [ - 0.3333333333333333, - "#9c179e" - ], - [ - 0.4444444444444444, - "#bd3786" - ], - [ - 0.5555555555555556, - "#d8576b" - ], - [ - 0.6666666666666666, - "#ed7953" - ], - [ - 0.7777777777777778, - "#fb9f3a" - ], - [ - 0.8888888888888888, - "#fdca26" - ], - [ - 1.0, - "#f0f921" - ] - ] - } - ], - "contourcarpet": [ - { - "type": "contourcarpet", - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - } - ], - "contour": [ - { - "type": "contour", - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "colorscale": [ - [ - 0.0, - "#0d0887" - ], - [ - 0.1111111111111111, - "#46039f" - ], - [ - 0.2222222222222222, - "#7201a8" - ], - [ - 0.3333333333333333, - "#9c179e" - ], - [ - 0.4444444444444444, - "#bd3786" - ], - [ - 0.5555555555555556, - "#d8576b" - ], - [ - 0.6666666666666666, - "#ed7953" - ], - [ - 0.7777777777777778, - "#fb9f3a" - ], - [ - 0.8888888888888888, - "#fdca26" - ], - [ - 1.0, - "#f0f921" - ] - ] - } - ], - "surface": [ - { - "type": "surface", - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "colorscale": [ - [ - 0.0, - "#0d0887" - ], - [ - 0.1111111111111111, - "#46039f" - ], - [ - 0.2222222222222222, - "#7201a8" - ], - [ - 0.3333333333333333, - "#9c179e" - ], - [ - 0.4444444444444444, - "#bd3786" - ], - [ - 0.5555555555555556, - "#d8576b" - ], - [ - 0.6666666666666666, - "#ed7953" - ], - [ - 0.7777777777777778, - "#fb9f3a" - ], - [ - 0.8888888888888888, - "#fdca26" - ], - [ - 1.0, - "#f0f921" - ] - ] - } - ], - "mesh3d": [ - { - "type": "mesh3d", - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - } - ], - "scatter": [ - { - "marker": { - "line": { - "color": "#283442" - } - }, - "type": "scatter" - } - ], - "parcoords": [ - { - "type": "parcoords", - "line": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - } - } - ], - "scatterpolargl": [ - { - "type": "scatterpolargl", - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - } - } - ], - "bar": [ - { - "error_x": { - "color": "#f2f5fa" - }, - "error_y": { - "color": "#f2f5fa" - }, - "marker": { - "line": { - "color": "rgb(17,17,17)", - "width": 0.5 - }, - "pattern": { - "fillmode": "overlay", - "size": 10, - "solidity": 0.2 - } - }, - "type": "bar" - } - ], - "scattergeo": [ - { - "type": "scattergeo", - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - } - } - ], - "scatterpolar": [ - { - "type": "scatterpolar", - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - } - } - ], - "histogram": [ - { - "marker": { - "pattern": { - "fillmode": "overlay", - "size": 10, - "solidity": 0.2 - } - }, - "type": "histogram" - } - ], - "scattergl": [ - { - "marker": { - "line": { - "color": "#283442" - } - }, - "type": "scattergl" - } - ], - "scatter3d": [ - { - "type": "scatter3d", - "line": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - } - } - ], - "scattermapbox": [ - { - "type": "scattermapbox", - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - } - } - ], - "scatterternary": [ - { - "type": "scatterternary", - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - } - } - ], - "scattercarpet": [ - { - "type": "scattercarpet", - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - } - } - ], - "carpet": [ - { - "aaxis": { - "endlinecolor": "#A2B1C6", - "gridcolor": "#506784", - "linecolor": "#506784", - "minorgridcolor": "#506784", - "startlinecolor": "#A2B1C6" - }, - "baxis": { - "endlinecolor": "#A2B1C6", - "gridcolor": "#506784", - "linecolor": "#506784", - "minorgridcolor": "#506784", - "startlinecolor": "#A2B1C6" - }, - "type": "carpet" - } - ], - "table": [ - { - "cells": { - "fill": { - "color": "#506784" - }, - "line": { - "color": "rgb(17,17,17)" - } - }, - "header": { - "fill": { - "color": "#2a3f5f" - }, - "line": { - "color": "rgb(17,17,17)" - } - }, - "type": "table" - } - ], - "barpolar": [ - { - "marker": { - "line": { - "color": "rgb(17,17,17)", - "width": 0.5 - }, - "pattern": { - "fillmode": "overlay", - "size": 10, - "solidity": 0.2 - } - }, - "type": "barpolar" - } - ], - "pie": [ - { - "automargin": true, - "type": "pie" - } - ] - }, - "layout": { - "autotypenumbers": "strict", - "colorway": [ - "#636efa", - "#EF553B", - "#00cc96", - "#ab63fa", - "#FFA15A", - "#19d3f3", - "#FF6692", - "#B6E880", - "#FF97FF", - "#FECB52" - ], - "font": { - "color": "#f2f5fa" - }, - "hovermode": "closest", - "hoverlabel": { - "align": "left" - }, - "paper_bgcolor": "rgb(17,17,17)", - "plot_bgcolor": "rgb(17,17,17)", - "polar": { - "bgcolor": "rgb(17,17,17)", - "angularaxis": { - "gridcolor": "#506784", - "linecolor": "#506784", - "ticks": "" - }, - "radialaxis": { - "gridcolor": "#506784", - "linecolor": "#506784", - "ticks": "" - } - }, - "ternary": { - "bgcolor": "rgb(17,17,17)", - "aaxis": { - "gridcolor": "#506784", - "linecolor": "#506784", - "ticks": "" - }, - "baxis": { - "gridcolor": "#506784", - "linecolor": "#506784", - "ticks": "" - }, - "caxis": { - "gridcolor": "#506784", - "linecolor": "#506784", - "ticks": "" - } - }, - "coloraxis": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "colorscale": { - "sequential": [ - [ - 0.0, - "#0d0887" - ], - [ - 0.1111111111111111, - "#46039f" - ], - [ - 0.2222222222222222, - "#7201a8" - ], - [ - 0.3333333333333333, - "#9c179e" - ], - [ - 0.4444444444444444, - "#bd3786" - ], - [ - 0.5555555555555556, - "#d8576b" - ], - [ - 0.6666666666666666, - "#ed7953" - ], - [ - 0.7777777777777778, - "#fb9f3a" - ], - [ - 0.8888888888888888, - "#fdca26" - ], - [ - 1.0, - "#f0f921" - ] - ], - "sequentialminus": [ - [ - 0.0, - "#0d0887" - ], - [ - 0.1111111111111111, - "#46039f" - ], - [ - 0.2222222222222222, - "#7201a8" - ], - [ - 0.3333333333333333, - "#9c179e" - ], - [ - 0.4444444444444444, - "#bd3786" - ], - [ - 0.5555555555555556, - "#d8576b" - ], - [ - 0.6666666666666666, - "#ed7953" - ], - [ - 0.7777777777777778, - "#fb9f3a" - ], - [ - 0.8888888888888888, - "#fdca26" - ], - [ - 1.0, - "#f0f921" - ] - ], - "diverging": [ - [ - 0, - "#8e0152" - ], - [ - 0.1, - "#c51b7d" - ], - [ - 0.2, - "#de77ae" - ], - [ - 0.3, - "#f1b6da" - ], - [ - 0.4, - "#fde0ef" - ], - [ - 0.5, - "#f7f7f7" - ], - [ - 0.6, - "#e6f5d0" - ], - [ - 0.7, - "#b8e186" - ], - [ - 0.8, - "#7fbc41" - ], - [ - 0.9, - "#4d9221" - ], - [ - 1, - "#276419" - ] - ] - }, - "xaxis": { - "gridcolor": "#283442", - "linecolor": "#506784", - "ticks": "", - "title": { - "standoff": 15 - }, - "zerolinecolor": "#283442", - "automargin": true, - "zerolinewidth": 2 - }, - "yaxis": { - "gridcolor": "#283442", - "linecolor": "#506784", - "ticks": "", - "title": { - "standoff": 15 - }, - "zerolinecolor": "#283442", - "automargin": true, - "zerolinewidth": 2 - }, - "scene": { - "xaxis": { - "backgroundcolor": "rgb(17,17,17)", - "gridcolor": "#506784", - "linecolor": "#506784", - "showbackground": true, - "ticks": "", - "zerolinecolor": "#C8D4E3", - "gridwidth": 2 - }, - "yaxis": { - "backgroundcolor": "rgb(17,17,17)", - "gridcolor": "#506784", - "linecolor": "#506784", - "showbackground": true, - "ticks": "", - "zerolinecolor": "#C8D4E3", - "gridwidth": 2 - }, - "zaxis": { - "backgroundcolor": "rgb(17,17,17)", - "gridcolor": "#506784", - "linecolor": "#506784", - "showbackground": true, - "ticks": "", - "zerolinecolor": "#C8D4E3", - "gridwidth": 2 - } - }, - "shapedefaults": { - "line": { - "color": "#f2f5fa" - } - }, - "annotationdefaults": { - "arrowcolor": "#f2f5fa", - "arrowhead": 0, - "arrowwidth": 1 - }, - "geo": { - "bgcolor": "rgb(17,17,17)", - "landcolor": "rgb(17,17,17)", - "subunitcolor": "#506784", - "showland": true, - "showlakes": true, - "lakecolor": "rgb(17,17,17)" - }, - "title": { - "x": 0.05 - }, - "updatemenudefaults": { - "bgcolor": "#506784", - "borderwidth": 0 - }, - "sliderdefaults": { - "bgcolor": "#C8D4E3", - "borderwidth": 1, - "bordercolor": "rgb(17,17,17)", - "tickwidth": 0 - }, - "mapbox": { - "style": "dark" - } - } - }, - "title": { - "text": "Has README file" - }, - "updatemenus": [ - { - "buttons": [ - { - "args": [ - { - "visible": [ - true, - false - ] - } - ], - "label": "Treemap", - "method": "update" - }, - { - "args": [ - { - "visible": [ - false, - true - ] - } - ], - "label": "Sunburst", - "method": "update" - } - ], - "direction": "down", - "showactive": true - } - ] - }, - "config": { - "plotlyServerURL": "https://plot.ly" - } - }, - "text/html": [ - "
" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/vnd.plotly.v1+json": { - "data": [ - { - "branchvalues": "total", - "domain": { - "x": [ - 0.0, - 1.0 - ], - "y": [ - 0.0, - 1.0 - ] - }, - "hovertemplate": "labels=%{label}
repo_count=%{value}
parent=%{parent}
id=%{id}", - "ids": [ - "True/.github", - "False/GSMS", - "False/LizardByte.github.io", - "True/RetroArcher", - "True/Sunshine", - "True/Themerr-jellyfin", - "True/Themerr-kodi", - "True/Themerr-plex", - "False/ThemerrDB", - "False/Virtual-Gamepad-Emulation-Bus", - "False/Virtual-Gamepad-Emulation-Client", - "False/Virtual-Gamepad-Emulation-dotnet", - "False/awesome-sunshine", - "False/build-deps", - "False/create-release-action", - "False/dashboard", - "False/db", - "True/doxyconfig", - "False/homebrew-homebrew", - "False/homebrew-release-action", - "False/jellyfin-plugin-repo", - "True/libdisplaydevice", - "False/nvapi-open-source-sdk", - "False/pacman-repo", - "False/setup-python-action", - "False/setup-release-action", - "False/shared-web", - "False/support-bot", - "False/support-bot-commands", - "False/template-base", - "True/tray", - "False/uno", - "False/update-changelog-action", - "False", - "True" - ], - "labels": [ - ".github", - "GSMS", - "LizardByte.github.io", - "RetroArcher", - "Sunshine", - "Themerr-jellyfin", - "Themerr-kodi", - "Themerr-plex", - "ThemerrDB", - "Virtual-Gamepad-Emulation-Bus", - "Virtual-Gamepad-Emulation-Client", - "Virtual-Gamepad-Emulation-dotnet", - "awesome-sunshine", - "build-deps", - "create-release-action", - "dashboard", - "db", - "doxyconfig", - "homebrew-homebrew", - "homebrew-release-action", - "jellyfin-plugin-repo", - "libdisplaydevice", - "nvapi-open-source-sdk", - "pacman-repo", - "setup-python-action", - "setup-release-action", - "shared-web", - "support-bot", - "support-bot-commands", - "template-base", - "tray", - "uno", - "update-changelog-action", - "False", - "True" - ], - "name": "", - "parents": [ - "True", - "False", - "False", - "True", - "True", - "True", - "True", - "True", - "False", - "False", - "False", - "False", - "False", - "False", - "False", - "False", - "False", - "True", - "False", - "False", - "False", - "True", - "False", - "False", - "False", - "False", - "False", - "False", - "False", - "False", - "True", - "False", - "False", - "", - "" - ], - "values": [ - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 24, - 9 - ], - "type": "treemap" - }, - { - "branchvalues": "total", - "domain": { - "x": [ - 0.0, - 1.0 - ], - "y": [ - 0.0, - 1.0 - ] - }, - "hovertemplate": "labels=%{label}
repo_count=%{value}
parent=%{parent}
id=%{id}", - "ids": [ - "True/.github", - "False/GSMS", - "False/LizardByte.github.io", - "True/RetroArcher", - "True/Sunshine", - "True/Themerr-jellyfin", - "True/Themerr-kodi", - "True/Themerr-plex", - "False/ThemerrDB", - "False/Virtual-Gamepad-Emulation-Bus", - "False/Virtual-Gamepad-Emulation-Client", - "False/Virtual-Gamepad-Emulation-dotnet", - "False/awesome-sunshine", - "False/build-deps", - "False/create-release-action", - "False/dashboard", - "False/db", - "True/doxyconfig", - "False/homebrew-homebrew", - "False/homebrew-release-action", - "False/jellyfin-plugin-repo", - "True/libdisplaydevice", - "False/nvapi-open-source-sdk", - "False/pacman-repo", - "False/setup-python-action", - "False/setup-release-action", - "False/shared-web", - "False/support-bot", - "False/support-bot-commands", - "False/template-base", - "True/tray", - "False/uno", - "False/update-changelog-action", - "False", - "True" - ], - "labels": [ - ".github", - "GSMS", - "LizardByte.github.io", - "RetroArcher", - "Sunshine", - "Themerr-jellyfin", - "Themerr-kodi", - "Themerr-plex", - "ThemerrDB", - "Virtual-Gamepad-Emulation-Bus", - "Virtual-Gamepad-Emulation-Client", - "Virtual-Gamepad-Emulation-dotnet", - "awesome-sunshine", - "build-deps", - "create-release-action", - "dashboard", - "db", - "doxyconfig", - "homebrew-homebrew", - "homebrew-release-action", - "jellyfin-plugin-repo", - "libdisplaydevice", - "nvapi-open-source-sdk", - "pacman-repo", - "setup-python-action", - "setup-release-action", - "shared-web", - "support-bot", - "support-bot-commands", - "template-base", - "tray", - "uno", - "update-changelog-action", - "False", - "True" - ], - "name": "", - "parents": [ - "True", - "False", - "False", - "True", - "True", - "True", - "True", - "True", - "False", - "False", - "False", - "False", - "False", - "False", - "False", - "False", - "False", - "True", - "False", - "False", - "False", - "True", - "False", - "False", - "False", - "False", - "False", - "False", - "False", - "False", - "True", - "False", - "False", - "", - "" - ], - "values": [ - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 24, - 9 - ], - "type": "sunburst", - "visible": false - } - ], - "layout": { - "template": { - "data": { - "histogram2dcontour": [ - { - "type": "histogram2dcontour", - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "colorscale": [ - [ - 0.0, - "#0d0887" - ], - [ - 0.1111111111111111, - "#46039f" - ], - [ - 0.2222222222222222, - "#7201a8" - ], - [ - 0.3333333333333333, - "#9c179e" - ], - [ - 0.4444444444444444, - "#bd3786" - ], - [ - 0.5555555555555556, - "#d8576b" - ], - [ - 0.6666666666666666, - "#ed7953" - ], - [ - 0.7777777777777778, - "#fb9f3a" - ], - [ - 0.8888888888888888, - "#fdca26" - ], - [ - 1.0, - "#f0f921" - ] - ] - } - ], - "choropleth": [ - { - "type": "choropleth", - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - } - ], - "histogram2d": [ - { - "type": "histogram2d", - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "colorscale": [ - [ - 0.0, - "#0d0887" - ], - [ - 0.1111111111111111, - "#46039f" - ], - [ - 0.2222222222222222, - "#7201a8" - ], - [ - 0.3333333333333333, - "#9c179e" - ], - [ - 0.4444444444444444, - "#bd3786" - ], - [ - 0.5555555555555556, - "#d8576b" - ], - [ - 0.6666666666666666, - "#ed7953" - ], - [ - 0.7777777777777778, - "#fb9f3a" - ], - [ - 0.8888888888888888, - "#fdca26" - ], - [ - 1.0, - "#f0f921" - ] - ] - } - ], - "heatmap": [ - { - "type": "heatmap", - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "colorscale": [ - [ - 0.0, - "#0d0887" - ], - [ - 0.1111111111111111, - "#46039f" - ], - [ - 0.2222222222222222, - "#7201a8" - ], - [ - 0.3333333333333333, - "#9c179e" - ], - [ - 0.4444444444444444, - "#bd3786" - ], - [ - 0.5555555555555556, - "#d8576b" - ], - [ - 0.6666666666666666, - "#ed7953" - ], - [ - 0.7777777777777778, - "#fb9f3a" - ], - [ - 0.8888888888888888, - "#fdca26" - ], - [ - 1.0, - "#f0f921" - ] - ] - } - ], - "heatmapgl": [ - { - "type": "heatmapgl", - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "colorscale": [ - [ - 0.0, - "#0d0887" - ], - [ - 0.1111111111111111, - "#46039f" - ], - [ - 0.2222222222222222, - "#7201a8" - ], - [ - 0.3333333333333333, - "#9c179e" - ], - [ - 0.4444444444444444, - "#bd3786" - ], - [ - 0.5555555555555556, - "#d8576b" - ], - [ - 0.6666666666666666, - "#ed7953" - ], - [ - 0.7777777777777778, - "#fb9f3a" - ], - [ - 0.8888888888888888, - "#fdca26" - ], - [ - 1.0, - "#f0f921" - ] - ] - } - ], - "contourcarpet": [ - { - "type": "contourcarpet", - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - } - ], - "contour": [ - { - "type": "contour", - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "colorscale": [ - [ - 0.0, - "#0d0887" - ], - [ - 0.1111111111111111, - "#46039f" - ], - [ - 0.2222222222222222, - "#7201a8" - ], - [ - 0.3333333333333333, - "#9c179e" - ], - [ - 0.4444444444444444, - "#bd3786" - ], - [ - 0.5555555555555556, - "#d8576b" - ], - [ - 0.6666666666666666, - "#ed7953" - ], - [ - 0.7777777777777778, - "#fb9f3a" - ], - [ - 0.8888888888888888, - "#fdca26" - ], - [ - 1.0, - "#f0f921" - ] - ] - } - ], - "surface": [ - { - "type": "surface", - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "colorscale": [ - [ - 0.0, - "#0d0887" - ], - [ - 0.1111111111111111, - "#46039f" - ], - [ - 0.2222222222222222, - "#7201a8" - ], - [ - 0.3333333333333333, - "#9c179e" - ], - [ - 0.4444444444444444, - "#bd3786" - ], - [ - 0.5555555555555556, - "#d8576b" - ], - [ - 0.6666666666666666, - "#ed7953" - ], - [ - 0.7777777777777778, - "#fb9f3a" - ], - [ - 0.8888888888888888, - "#fdca26" - ], - [ - 1.0, - "#f0f921" - ] - ] - } - ], - "mesh3d": [ - { - "type": "mesh3d", - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - } - ], - "scatter": [ - { - "marker": { - "line": { - "color": "#283442" - } - }, - "type": "scatter" - } - ], - "parcoords": [ - { - "type": "parcoords", - "line": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - } - } - ], - "scatterpolargl": [ - { - "type": "scatterpolargl", - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - } - } - ], - "bar": [ - { - "error_x": { - "color": "#f2f5fa" - }, - "error_y": { - "color": "#f2f5fa" - }, - "marker": { - "line": { - "color": "rgb(17,17,17)", - "width": 0.5 - }, - "pattern": { - "fillmode": "overlay", - "size": 10, - "solidity": 0.2 - } - }, - "type": "bar" - } - ], - "scattergeo": [ - { - "type": "scattergeo", - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - } - } - ], - "scatterpolar": [ - { - "type": "scatterpolar", - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - } - } - ], - "histogram": [ - { - "marker": { - "pattern": { - "fillmode": "overlay", - "size": 10, - "solidity": 0.2 - } - }, - "type": "histogram" - } - ], - "scattergl": [ - { - "marker": { - "line": { - "color": "#283442" - } - }, - "type": "scattergl" - } - ], - "scatter3d": [ - { - "type": "scatter3d", - "line": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - } - } - ], - "scattermapbox": [ - { - "type": "scattermapbox", - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - } - } - ], - "scatterternary": [ - { - "type": "scatterternary", - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - } - } - ], - "scattercarpet": [ - { - "type": "scattercarpet", - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - } - } - ], - "carpet": [ - { - "aaxis": { - "endlinecolor": "#A2B1C6", - "gridcolor": "#506784", - "linecolor": "#506784", - "minorgridcolor": "#506784", - "startlinecolor": "#A2B1C6" - }, - "baxis": { - "endlinecolor": "#A2B1C6", - "gridcolor": "#506784", - "linecolor": "#506784", - "minorgridcolor": "#506784", - "startlinecolor": "#A2B1C6" - }, - "type": "carpet" - } - ], - "table": [ - { - "cells": { - "fill": { - "color": "#506784" - }, - "line": { - "color": "rgb(17,17,17)" - } - }, - "header": { - "fill": { - "color": "#2a3f5f" - }, - "line": { - "color": "rgb(17,17,17)" - } - }, - "type": "table" - } - ], - "barpolar": [ - { - "marker": { - "line": { - "color": "rgb(17,17,17)", - "width": 0.5 - }, - "pattern": { - "fillmode": "overlay", - "size": 10, - "solidity": 0.2 - } - }, - "type": "barpolar" - } - ], - "pie": [ - { - "automargin": true, - "type": "pie" - } - ] - }, - "layout": { - "autotypenumbers": "strict", - "colorway": [ - "#636efa", - "#EF553B", - "#00cc96", - "#ab63fa", - "#FFA15A", - "#19d3f3", - "#FF6692", - "#B6E880", - "#FF97FF", - "#FECB52" - ], - "font": { - "color": "#f2f5fa" - }, - "hovermode": "closest", - "hoverlabel": { - "align": "left" - }, - "paper_bgcolor": "rgb(17,17,17)", - "plot_bgcolor": "rgb(17,17,17)", - "polar": { - "bgcolor": "rgb(17,17,17)", - "angularaxis": { - "gridcolor": "#506784", - "linecolor": "#506784", - "ticks": "" - }, - "radialaxis": { - "gridcolor": "#506784", - "linecolor": "#506784", - "ticks": "" - } - }, - "ternary": { - "bgcolor": "rgb(17,17,17)", - "aaxis": { - "gridcolor": "#506784", - "linecolor": "#506784", - "ticks": "" - }, - "baxis": { - "gridcolor": "#506784", - "linecolor": "#506784", - "ticks": "" - }, - "caxis": { - "gridcolor": "#506784", - "linecolor": "#506784", - "ticks": "" - } - }, - "coloraxis": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "colorscale": { - "sequential": [ - [ - 0.0, - "#0d0887" - ], - [ - 0.1111111111111111, - "#46039f" - ], - [ - 0.2222222222222222, - "#7201a8" - ], - [ - 0.3333333333333333, - "#9c179e" - ], - [ - 0.4444444444444444, - "#bd3786" - ], - [ - 0.5555555555555556, - "#d8576b" - ], - [ - 0.6666666666666666, - "#ed7953" - ], - [ - 0.7777777777777778, - "#fb9f3a" - ], - [ - 0.8888888888888888, - "#fdca26" - ], - [ - 1.0, - "#f0f921" - ] - ], - "sequentialminus": [ - [ - 0.0, - "#0d0887" - ], - [ - 0.1111111111111111, - "#46039f" - ], - [ - 0.2222222222222222, - "#7201a8" - ], - [ - 0.3333333333333333, - "#9c179e" - ], - [ - 0.4444444444444444, - "#bd3786" - ], - [ - 0.5555555555555556, - "#d8576b" - ], - [ - 0.6666666666666666, - "#ed7953" - ], - [ - 0.7777777777777778, - "#fb9f3a" - ], - [ - 0.8888888888888888, - "#fdca26" - ], - [ - 1.0, - "#f0f921" - ] - ], - "diverging": [ - [ - 0, - "#8e0152" - ], - [ - 0.1, - "#c51b7d" - ], - [ - 0.2, - "#de77ae" - ], - [ - 0.3, - "#f1b6da" - ], - [ - 0.4, - "#fde0ef" - ], - [ - 0.5, - "#f7f7f7" - ], - [ - 0.6, - "#e6f5d0" - ], - [ - 0.7, - "#b8e186" - ], - [ - 0.8, - "#7fbc41" - ], - [ - 0.9, - "#4d9221" - ], - [ - 1, - "#276419" - ] - ] - }, - "xaxis": { - "gridcolor": "#283442", - "linecolor": "#506784", - "ticks": "", - "title": { - "standoff": 15 - }, - "zerolinecolor": "#283442", - "automargin": true, - "zerolinewidth": 2 - }, - "yaxis": { - "gridcolor": "#283442", - "linecolor": "#506784", - "ticks": "", - "title": { - "standoff": 15 - }, - "zerolinecolor": "#283442", - "automargin": true, - "zerolinewidth": 2 - }, - "scene": { - "xaxis": { - "backgroundcolor": "rgb(17,17,17)", - "gridcolor": "#506784", - "linecolor": "#506784", - "showbackground": true, - "ticks": "", - "zerolinecolor": "#C8D4E3", - "gridwidth": 2 - }, - "yaxis": { - "backgroundcolor": "rgb(17,17,17)", - "gridcolor": "#506784", - "linecolor": "#506784", - "showbackground": true, - "ticks": "", - "zerolinecolor": "#C8D4E3", - "gridwidth": 2 - }, - "zaxis": { - "backgroundcolor": "rgb(17,17,17)", - "gridcolor": "#506784", - "linecolor": "#506784", - "showbackground": true, - "ticks": "", - "zerolinecolor": "#C8D4E3", - "gridwidth": 2 - } - }, - "shapedefaults": { - "line": { - "color": "#f2f5fa" - } - }, - "annotationdefaults": { - "arrowcolor": "#f2f5fa", - "arrowhead": 0, - "arrowwidth": 1 - }, - "geo": { - "bgcolor": "rgb(17,17,17)", - "landcolor": "rgb(17,17,17)", - "subunitcolor": "#506784", - "showland": true, - "showlakes": true, - "lakecolor": "rgb(17,17,17)" - }, - "title": { - "x": 0.05 - }, - "updatemenudefaults": { - "bgcolor": "#506784", - "borderwidth": 0 - }, - "sliderdefaults": { - "bgcolor": "#C8D4E3", - "borderwidth": 1, - "bordercolor": "rgb(17,17,17)", - "tickwidth": 0 - }, - "mapbox": { - "style": "dark" - } - } - }, - "title": { - "text": "Uses ReadTheDocs" - }, - "updatemenus": [ - { - "buttons": [ - { - "args": [ - { - "visible": [ - true, - false - ] - } - ], - "label": "Treemap", - "method": "update" - }, - { - "args": [ - { - "visible": [ - false, - true - ] - } - ], - "label": "Sunburst", - "method": "update" - } - ], - "direction": "down", - "showactive": true - } - ] - }, - "config": { - "plotlyServerURL": "https://plot.ly" - } - }, - "text/html": [ - "
" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "execution_count": 188 + ] } ], "metadata": { @@ -3145,8 +663,7 @@ "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.12.0" + "pygments_lexer": "ipython3" } }, "nbformat": 4, diff --git a/requirements-dev.txt b/requirements-dev.txt index dadd9865..30619c8e 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1 +1,2 @@ +nb-clean==3.3.0 nbqa[toolchain]==1.8.7