innovationOUtside / nb_cell_diff

Simple tools for ad hoc, in notebook, code cell differencing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nb_cell_diff

Simple tools for ad hoc, in notebook, code cell differencing.

Binder

Based on the Google diff-match-patch Python3 package.

%load_ext nbcelldiff

The package currently provides cell block magics that let you compare the current cell with the previously executed cell, an earlier executed cell from its cell run index number, or the contents of the clipboard; and a line magic that lets you compare the contents of two previously executed cells from the cell run index numbers.

See the demo.ipynb for examples.

TO DO:

  • clipboard demo is broken in MyBinder?

About

Simple tools for ad hoc, in notebook, code cell differencing

License:Apache License 2.0


Languages

Language:Python 93.4%Language:Jupyter Notebook 6.6%