Skip to main content

Tools for finding the difference between two notebook code cells

Project description

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?

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nbcelldiff-0.0.1.tar.gz (19.9 kB view hashes)

Uploaded Source

Built Distribution

nbcelldiff-0.0.1-py3-none-any.whl (24.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page