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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f65dc4400478e4c9c15a8cce3d270184147179c697a2f55582f862a200c9706e |
|
MD5 | 8e85f83ae2e08944b801d67f12cdf91c |
|
BLAKE2b-256 | e1ee5f2fc300aabd32859c95470212d5db48f728b96692e6247d6f1cc2149c65 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0a1ba6a7a94e4dad9ca8452d8a33cd101ef1c5f02bcf293c58ce4562cb2ef9e |
|
MD5 | 8f46033c62a5727064480e6eb9988a73 |
|
BLAKE2b-256 | 4b72caf12a00c80d02f29515506d0fb059a6b04deeb16d0ff6a66f1e4609828e |