Skip to content

Commit 787b16f

Browse files
committed
misc updates
1 parent f270a53 commit 787b16f

File tree

3 files changed

+112
-5
lines changed

3 files changed

+112
-5
lines changed

all_repos.txt

Lines changed: 88 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jupyter/papyri : https://pypi.org/project/papyri
5252
jupyter/notebook_shim : https://pypi.org/project/notebook-shim
5353
jupyter/jupyter_events : https://pypi.org/project/jupyter-events
5454
jupyterlab/jupyterlab : https://pypi.org/project/jupyterlab
55+
jupyterlab/jupyterlab : https://pypi.org/project/jupyterlab_launcher
5556
jupyterlab/pytest-check-links : https://pypi.org/project/pytest-check-links
5657
jupyterlab/jupyterlab_server : https://pypi.org/project/jupyterlab-server
5758
jupyterlab/jupyterlab-git : https://pypi.org/project/jupyterlab-git
@@ -96,6 +97,13 @@ jupyterlab/language-packs : https://pypi.org/project/jupyterlab-language-pack-v
9697
jupyterlab/language-packs : https://pypi.org/project/jupyterlab-language-pack-zh-CN
9798
jupyterlab/language-packs : https://pypi.org/project/jupyterlab-language-pack-zh-TW
9899

100+
jupyterlab/jupyter-ai : https://pypi.org/project/jupyter-ai
101+
jupyterlab/jupyter-builder : https://pypi.org/project/jupyter-builder
102+
jupyterlab/jupyterlab-data-explorer : https://pypi.org/project/jupyterlab-data-explorer
103+
104+
#
105+
jupyter/jupyter-sphinx-theme : https://pypi.org/project/jupyter-sphinx-theme
106+
99107
# To migrate
100108
jupyter/qtconsole : https://pypi.org/project/qtconsole
101109

@@ -112,6 +120,8 @@ jupyter/security:
112120
jupyter/ideas:
113121
binderhub-ci-repos/lfs:
114122
jupyter/governance:
123+
jupyter/accessibility:
124+
jupyter/cve:
115125

116126
# security forks:
117127
# is it safe to list those URL ?
@@ -178,8 +188,13 @@ jupyterlab/jupytercon-jupyterlab-tutorial:
178188
jupyterlab/scipy2018-jupyterlab-tutorial:
179189
jupyterlab/scipy2019-jupyterlab-tutorial:
180190

181-
# exampels and cookie cutter
191+
# exemples and cookie cutter
182192
voila-gallery/hello-world-example:
193+
binderhub-ci-repos/cached-minimal-dockerfile:
194+
binderhub-ci-repos/minimal-dockerfile:
195+
binderhub-ci-repos/repo2docker-ci-clone-depth:
196+
binderhub-ci-repos/repo2docker-subdir-support:
197+
binderhub-ci-repos/requirements:
183198

184199
#
185200
ipython/pickleshare : https://pypi.org/project/pickleshare
@@ -244,3 +259,75 @@ jupyter-widgets/xeus : https://pypi.org/project/xeus-python
244259
jupyter/declarativewidgets : https://pypi.org/project/jupyter_declarativewidgets/
245260

246261
jupyter/kernel_gateway_bundlers : https://pypi.org/project/jupyter_kernel_gateway_bundlers/
262+
263+
jupyterhub/kubespawner: https://pypi.org/project/jupyterhub-kubespawner/
264+
265+
266+
267+
# Jupyter XEUS
268+
269+
jupyter-xeus/robotframework-interpreter : https://pypi.org/project/robotframework-interpreter
270+
jupyter-xeus/xcanvas : https://pypi.org/project/xcanvas
271+
jupyter-xeus/xeus-python : https://pypi.org/project/xeus-python
272+
jupyter-xeus/xeus-python-shell : https://pypi.org/project/xeus-python-shell
273+
jupyter-xeus/xeus-robot : https://pypi.org/project/xeus-robot
274+
275+
276+
# Voilà
277+
278+
voila-dashboards/hotpot_km : https://pypi.org/project/hotpot_km
279+
voila-dashboards/voici : https://pypi.org/project/voici
280+
voila-dashboards/voila : https://pypi.org/project/voila
281+
voila-dashboards/voila-debug : https://pypi.org/project/voila-debug
282+
voila-dashboards/voila-gridstack : https://pypi.org/project/voila-gridstack
283+
voila-dashboards/voila-material : https://pypi.org/project/voila-material
284+
voila-dashboards/voila-reveal : https://pypi.org/project/voila-reveal
285+
voila-dashboards/voila-topbar : https://pypi.org/project/voila-topbar
286+
voila-dashboards/voila-vuetify : https://pypi.org/project/voila-vuetify
287+
288+
289+
jupyter-server/jupyverse : https://pypi.org/project/jupyverse
290+
jupyterlab/lumino:
291+
jupyterlab/retrolab : https://pypi.org/project/retrolab
292+
jupyterlab/rtc:
293+
294+
# not packages
295+
ipython/dfflib :
296+
ipython/front-to-back :
297+
ipython/ipython-ansible-jenkins :
298+
ipython/ipython-doc :
299+
ipython/ipython-in-depth:
300+
ipython/ipython-sec :
301+
ipython/marketing :
302+
ipython/mozfest2014 :
303+
ipython/nbviewer-deploy :
304+
ipython/paper-notebook2013 :
305+
ipython/salt-states-nbviewer :
306+
ipython/sloan-2013-reports :
307+
ipython/talks :
308+
ipython/usersurveys :
309+
ipython/xkcd-font:
310+
311+
jupyter/dashboards : https://pypi.org/project/jupyter_dashboards/
312+
313+
# nodes packages
314+
315+
jupyter/jupyter-js-cells :
316+
jupyter/jupyter-js-docmanager :
317+
jupyter/jupyter-js-domutils :
318+
jupyter/jupyter-js-editor :
319+
jupyter/jupyter-js-filebrowser :
320+
jupyter/jupyter-js-input-area :
321+
jupyter/jupyter-js-notebook :
322+
jupyter/jupyter-js-output-area :
323+
jupyter/jupyter-js-phosphide :
324+
jupyter/jupyter-js-plugins :
325+
jupyter/jupyter-js-terminal :
326+
jupyter/jupyter-js-ui :
327+
jupyter/jupyter-js-utils :
328+
329+
330+
# Own by the matplotlib org:
331+
332+
voila-gallery/ipympl : https://pypi.org/project/ipympl
333+
jupyterlab/jupyter-chat : https://pypi.org/project/jupyterlab-chat

tools/all_repos.py

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ async def _loc(results, org):
107107
results.append(await list_repos_for_org(org))
108108

109109
nursery.start_soon(_loc, results, org)
110+
110111
for org_repos in results:
111112
for org, repo, archived, private in org_repos:
112113
yield org, repo, archived, private
@@ -198,7 +199,7 @@ async def _loc(targets, package_url):
198199
)
199200

200201
nursery.start_soon(_loc, targets, package_url)
201-
202+
by_maintainers = {}
202203
if targets:
203204
print()
204205
print(
@@ -211,8 +212,26 @@ async def _loc(targets, package_url):
211212
color = "[green]" if is_ok else "[red]"
212213
end = "[/green]" if is_ok else "[/red]"
213214
print(f"{color} pypi: `@{maintainer}` {end}")
215+
if is_ok:
216+
by_maintainers[maintainer] = by_maintainers.setdefault(
217+
maintainer, []
218+
)
219+
by_maintainers[maintainer].append(package_url)
214220
print()
215221

222+
by_maintainers = {
223+
k: v
224+
for k, v in sorted(
225+
by_maintainers.items(), key=lambda item: len(item[1]), reverse=True
226+
)
227+
}
228+
for maintainer, packages in by_maintainers.items():
229+
print(
230+
f"[green]`@{maintainer}`[/green] {len(packages)} packages (https://pypi.org/user/{maintainer}/):"
231+
)
232+
for package in sorted(packages):
233+
print(f" {package}")
234+
216235
missing_from_github_org = set(packages_urls) - set([p for _, p in known_mapping])
217236
if missing_from_github_org:
218237
print(

tools/tide.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ def get_tidelift_data(packages):
7474

7575
# Create a table for aligned output
7676
table = Table(show_header=True, header_style="bold magenta")
77+
table.add_column("#")
7778
table.add_column("Package Name")
7879
table.add_column("Estimated Money")
7980
table.add_column("Lifted")
@@ -89,11 +90,11 @@ def maybefloat(x):
8990
package_data.sort(
9091
key=lambda x: (x[1] is None, x[1], -maybefloat(x[2]), x[0])
9192
) # sort lifted True first, then None, then False, then amount, then by name
92-
for name, lifted, estimated_money in package_data:
93+
for i, (name, lifted, estimated_money) in enumerate(package_data, start=1):
9394
if lifted:
94-
table.add_row(name, "-- need login ––", f"[green]{lifted}[/green]")
95+
table.add_row(str(i), name, "-- need login ––", f"[green]{lifted}[/green]")
9596
else:
96-
table.add_row(name, str(estimated_money), f"[red]{lifted}[/red]")
97+
table.add_row(str(i), name, str(estimated_money), f"[red]{lifted}[/red]")
9798

9899
print(table)
99100

0 commit comments

Comments
 (0)