Automic VaultAutomic Vault

brew

使用 Homebrew, Nix 安装 nbdime

查看 nbdime 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install nbdime

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#nbmerge

nixpkgs package indexes · pkgs/by-name/nb/nbmerge/package.nix · 来源: api.github.com

概览

软件包摘要

Jupyter Notebook Diff and Merge tools

命令和别名

  • git-nbdiffdriver
  • git-nbdifftool
  • git-nbmergedriver
  • git-nbmergetool
  • hg-nbdiff
  • hg-nbdiffweb
  • hg-nbmerge
  • hg-nbmergeweb
  • nbdiff
  • nbdiff-web
  • nbdime
  • nbmerge
  • nbmerge-web
  • nbshow

历史

项目历史与用法

nbdime is the Jupyter notebook diff and merge toolkit: terminal diffs, web-rendered diffs, three-way merges, Git and Mercurial integration commands, and notebook-aware conflict handling.

项目历史

The jupyter/nbdime repository was created on 2015-11-16. The problem it addresses is old and specific: .ipynb files are JSON documents, so line-based diff and merge tools are noisy and often misleading for code cells, markdown cells, metadata, execution counts, rich outputs, and embedded images.

The project became part of the Jupyter ecosystem discussion early. Jupyter Enhancement Proposal 8, 'Diffing and merging notebooks', says preliminary work resided in nbdime and frames the core use cases as version-control merge commands, diff commands, notebook change inspection, and automated regression testing.

采用历史

The package reached PyPI as 0.1.0 on 2016-12-16 and 1.0.0 on 2018-05-15. GitHub API data retrieved on 2026-07-01 showed 2,836 stars and 192 forks. PyPI Stats reported 317,876 downloads for the recent last-month window, and Homebrew Formulae reported 758 installs over the prior 365 days.

Its adoption comes from being the practical local answer to notebook version control. Jupyter users can keep notebooks in Git, but nbdime makes diffs human-readable and merges less hazardous by understanding notebook structure.

使用方式

Users run nbdiff for terminal-friendly notebook comparisons, nbdiff-web for rendered browser diffs, nbmerge for three-way notebook merges, nbmerge-web for browser-assisted conflict resolution, and nbshow for terminal presentation of a notebook.

The Git integration is the package-nerd move: configure nbdime as the diff and merge driver so normal git diff and git merge behavior can route .ipynb files through notebook-aware tooling while leaving ordinary files alone.

为什么软件包爱好者会关心

nbdime matters because it turns notebooks from opaque JSON blobs back into reviewable development artifacts. It does not replace Git or Jupyter; it patches the exact place where their defaults are weakest together.

时间线

  • 2015-11-16: jupyter/nbdime repository created.
  • 2016-07-15: 'Diffing and Merging Jupyter Notebooks with nbdime' presented at SciPy 2016.
  • 2016-12-16: nbdime 0.1.0 uploaded to PyPI.
  • 2018-05-15: nbdime 1.0.0 uploaded to PyPI.
  • 2026-02-10: nbdime 4.0.4 published.

Related projects

  • Project Jupyter
  • Jupyter Enhancement Proposal 8
  • Git diff and merge drivers for notebook files

安全态势

尚未找到受保护工具覆盖

没有找到 nbdime 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 3 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
nbdime_config.json in directories listed by `jupyter --paths`./nbdime_config.json

可执行文件

已安装的可执行文件

命令类型暴露范围备注
git-nbdiffdrivercli全局可执行文件
git-nbdifftoolcli全局可执行文件
git-nbmergedrivercli全局可执行文件
git-nbmergetoolcli全局可执行文件
hg-nbdiffcli全局可执行文件
hg-nbdiffwebcli全局可执行文件
hg-nbmergecli全局可执行文件
hg-nbmergewebcli全局可执行文件
nbdiffcli全局可执行文件
nbdiff-webcli全局可执行文件
nbdimecli全局可执行文件
nbmergecli全局可执行文件
nbmerge-webcli全局可执行文件
nbshowcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本4.0.4
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://nbdime.readthedocs.io

安装元数据

软件包元数据

软件包键brew:nbdime
版本4.0.4
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/nbdime
主页https://nbdime.readthedocs.io
仓库https://github.com/jupyter/nbdime
上游文档https://nbdime.readthedocs.io/en/latest
许可证BSD-3-Clause
源码归档https://files.pythonhosted.org/packages/0c/22/d1ae77115b96b2ff8df6bbc54f8651eeb02d5716cea9079cdf94eaf6bb8b/nbdime-4.0.4.tar.gz
最后更新2026-06-22T14:05:35-07:00
Pulseupdated
依赖certifi, jupyterlab, python@3.14
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namenbdime
Version Scheme0
Revision3
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix92%

nbmerge

nix profile install nixpkgs#nbmerge
  • installed executable or alias match
  • 匹配方式:Nbmerge
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/nb/nbmerge/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment