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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file nbcelldiff-0.0.1.tar.gz.

File metadata

  • Download URL: nbcelldiff-0.0.1.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for nbcelldiff-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f65dc4400478e4c9c15a8cce3d270184147179c697a2f55582f862a200c9706e
MD5 8e85f83ae2e08944b801d67f12cdf91c
BLAKE2b-256 e1ee5f2fc300aabd32859c95470212d5db48f728b96692e6247d6f1cc2149c65

See more details on using hashes here.

File details

Details for the file nbcelldiff-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: nbcelldiff-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 24.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for nbcelldiff-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b0a1ba6a7a94e4dad9ca8452d8a33cd101ef1c5f02bcf293c58ce4562cb2ef9e
MD5 8f46033c62a5727064480e6eb9988a73
BLAKE2b-256 4b72caf12a00c80d02f29515506d0fb059a6b04deeb16d0ff6a66f1e4609828e

See more details on using hashes here.

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