nbdime has had its first stable release. nbdime provides tools for diffing and merging Jupyter notebooks, and integrating notebooks into git workflow. nbdime aims to alleviate some common difficulties when working with Jupyter notebooks.
Particular features of nbdime:
- recognizing binary outputs that cannot be reasonably interpreted in the terminal
- recognizing transient fields and eliminating them from merge conflicts
- ensuring that merged notebooks are always valid
- integration with git as
drivers
for passive diff/merge integration andtools
for interactive GUI integration
Tools provided by nbdime:
nbshow
: show a legible formatting of a notebook on the command-linenbdiff
: command-line diff of notebooks, eliding outputs that are known to not be renderable in a terminal.nbdiff
can be integrated into git as a diff drivernbdiff-web
: create a rich, rendered web view of the changes between two notebooksnbmerge
: three-way merge with automatic conflict resolution, which can be integrated into git as a merge driver, ensuring always-valid notebooks and eliminating merge conflicts on transient fieldsnbmerge-web
: interactive three-way merge tool for manually resolving merge conflicts
More info on nbdime.