qmetrics.net

nbdime

Content-aware Jupyter notebook diff and merge tools

nbdime screenshot

nbdime compares and merges Jupyter notebooks with structure-aware logic instead of raw line diffs. It offers terminal and web-based commands and hooks into Git and Mercurial.

Overview

Jupyter notebooks store rich content in JSON, so ordinary line-based diff tools produce noisy output. nbdime understands notebook structure to diff and merge cells, outputs, and metadata more intelligently, including choices such as shortening embedded images in terminal views and auto-resolving some generated fields like execution counters.

Command-line entry points include nbdiff for comparisons, nbmerge for three-way merges with automatic conflict handling where possible, nbshow for terminal-friendly viewing, and nbdiff-web and nbmerge-web for rendered browser views. A web mergetool helps resolve merge conflicts visually.

Git integration can be enabled with nbdime config-git --global so git diff and git merge use nbdime drivers and tools. Mercurial integration is also documented. Installing via pip is the documented primary install path.

The toolset is aimed at authors who version-control notebooks alongside code and need merges and reviews that respect notebook semantics rather than treating files as plain text.

Key features

  • Structure-aware notebook diffs
  • Three-way notebook merge
  • Terminal and web diff viewers
  • Git merge and diff drivers
  • Mercurial integration
  • Web-based merge conflict UI
  • Rendered image diffs in web view

Use cases

  • Git diffs for .ipynb files
  • Resolving notebook merge conflicts
  • Reviewing notebook changes in a browser
  • Team Jupyter workflows with version control

Tags

Similar software

GitLens

Git visualization and workflow extension for VS Code

GitLens extends Visual Studio Code with blame, history, commit graph views, and Git workflows maintained by GitKraken. A free Community edition coexists with paid Pro capabilities.

  • Interactive Commit Graph
  • Inline blame and CodeLens
  • Branch and worktree management
TypeScriptDetails →
★ 10k⟳ todayMIT · open core

isomorphic-git

Pure JavaScript git client for Node and browsers

A JavaScript reimplementation of git that runs in Node.js and in the browser without native C++ dependencies. It reads and writes repositories, and can fetch from and push to remotes.

  • Clone and push without native modules
  • Same code in Node and browser
  • Pluggable file system and HTTP
JavaScriptWeb, CLIDetails →
★ 8.4k⟳ todayMIT

Neogit

Magit-inspired Git UI inside Neovim

Neogit brings an interactive Git interface to Neovim with popups for branch, commit, rebase, and stash workflows inspired by Magit.

  • Magit-style popup menus
  • Tab, split, and float layouts
  • Visual range cherry-picks
LuaDetails →
★ 5.7k⟳ todayMIT

GitPython

Python library for Git repository operations

GitPython lets Python programs work with Git repos at porcelain or plumbing level, often by wrapping the git executable.

  • Repository and object API
  • Porcelain and plumbing style access
  • Remotes and submodules
PythonWindowsDetails →
★ 5.2k⟳ 3 days agoBSD-3-Clause

GitHub Pull Requests

GitHub pull requests and issues inside VS Code

A Microsoft extension to browse, review, and manage GitHub pull requests and issues from Visual Studio Code, including GitHub Enterprise.

  • GitHub and Enterprise authentication
  • List and browse pull requests
  • In-editor PR review comments
TypeScriptDetails →
★ 2.6k⟳ todayMIT

git2-rs

Safe Rust bindings to the libgit2 Git library

git2-rs exposes libgit2 to Rust programs for repository work. Local repository features are enabled by default; optional features add HTTPS and SSH networking.

  • Repository open init and clone
  • Optional HTTPS remote support
  • Optional SSH remote support
RustmacOSDetails →
★ 2.1k⟳ 4 days agoApache-2.0 · open core