numpy / numpy/numpy-tutorials

MAINT: Remove shell callouts from notebooks

Open
#283 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

maintenance
Dominant language
No language data
Stars
673
Forks
229
PR merge metrics
No merged PRs in 30d

Description

I.e. replace instances of !cmd in the notebooks with Python equivalents, like here for example.

The main motivation for doing so would be to prepare the site for pyiodide/jupyterlite support. AFAIK these kernels do not support bash or any other external shell calls.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the notebooks for !cmd callouts and inspect the linked mooreslaw-tutorial.md example first. Replace each shell call with a Python equivalent, then verify that the notebooks contain no external shell calls and remain compatible with pyiodide/jupyterlite support.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
documentation
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.