Re:Reviewing Zeppelin and Jupyter Notebooks
by ivan_ah on Saturday March 16, 2019 @08:06PM
(#19411261)
There is also another tool called `pynb` (by the same author) that can be used to achieve human-readable format. The logic is a bit different there, since it generates a .py script file with markdown cells appearing as Python comments.
Re:Reviewing Zeppelin and Jupyter Notebooks
by micheda on Sunday March 17, 2019 @05:02AM
(#19413011)
Hi Ivan, author here. Happy to read that pynb is useful! it can be used in a similar way (I used it also this way until I required support also for Zeppelin), however, it's limited to Jupyter and there's no Markdown support as you already pointed out.
Re:Reviewing Zeppelin and Jupyter Notebooks
by taeric on Saturday March 16, 2019 @07:59PM
(#19411236)
Emacs org mode definitely got this right. Storing everything as json feels like an ok choice, but there is a huge advantage to storing in the repo exactly what you review.
GitHub: https://github.com/iodide-project/iodide
Post explaining what it is: https://hacks.mozilla.org/2019/03/iodide-an-experimental-too...
It uses this markdown like file format: https://iodide-project.github.io/docs/jsmd/
example diff: https://github.com/minireference/noBSLAnotebooks/commit/9005...
script: https://github.com/minireference/noBSLAnotebooks/blob/master...
pre-commit hook: https://github.com/minireference/noBSLAnotebooks/blob/master...
At least then you're dealing with diffs of plain text instead of json.
I built ReviewNB (https://www.reviewnb.com/) specifically to review Jupyter Notebooks on GitHub.