{"id":15195762,"url":"https://github.com/lcary/nbd","last_synced_at":"2025-10-02T11:31:26.039Z","repository":{"id":41440527,"uuid":"105116590","full_name":"lcary/nbd","owner":"lcary","description":"A lightweight ipython/jupyter notebook diffing tool","archived":true,"fork":false,"pushed_at":"2022-08-23T17:04:24.000Z","size":222,"stargazers_count":3,"open_issues_count":7,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-14T15:06:26.433Z","etag":null,"topics":["diff","diffing","git-diff","git-difftool","ipython-notebook","jupyter","jupyter-notebook"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lcary.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-28T07:31:01.000Z","updated_at":"2022-12-03T17:07:17.000Z","dependencies_parsed_at":"2022-09-26T17:30:45.894Z","dependency_job_id":null,"html_url":"https://github.com/lcary/nbd","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lcary%2Fnbd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lcary%2Fnbd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lcary%2Fnbd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lcary%2Fnbd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lcary","download_url":"https://codeload.github.com/lcary/nbd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234983179,"owners_count":18917432,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["diff","diffing","git-diff","git-difftool","ipython-notebook","jupyter","jupyter-notebook"],"created_at":"2024-09-28T00:00:43.555Z","updated_at":"2025-10-02T11:31:20.633Z","avatar_url":"https://github.com/lcary.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"nbd\n===\n\nA lightweight ipython/jupyter notebook diffing tool.\n\n.. image:: https://travis-ci.org/lcary/nbd.svg?branch=master\n    :alt: build-status-image\n    :target: https://travis-ci.org/lcary/nbd\n\nPurpose\n-------\n\nThis tool makes ipython/jupyter notebook diffs more readable.\n\nThis tool is meant for text-based diffing from the command-line.\n\nOverview\n--------\n\nRunning ``ndb`` shows differences in the following types of data:\n\n-  Python code\n-  reStructuredText code\n-  Resource files (e.g. PNGs)\n\nThis will show you most of what has changed in the ``In[1]:`` and\n``Out[1]:`` lines of the notebook.\n\nThe output of ``ndb`` is\n`git-diff \u003chttps://git-scm.com/docs/git-diff\u003e`_ output and can be piped\nto other commands like `less(1) \u003chttps://linux.die.net/man/1/less\u003e`_\nand `tee(1) \u003chttps://linux.die.net/man/1/tee\u003e`_.\n\nRequirements\n------------\n\n-  Python \u003e= 2.6\n-  nbconvert\n-  pandoc\n-  git\n\nInstall\n-------\n\nInstall with pip (or your favorite python package manager):\n\n::\n\n    pip install nbd\n\nUsage\n-----\n\nHelp:\n\n::\n\n    nbd -h\n\nSimple usage:\n\n::\n\n    nbd \u003cnotebook\u003e\n\nPipe to `less(1) \u003chttps://linux.die.net/man/1/less\u003e`_:\n\n::\n\n    nbd \u003cnotebook\u003e | less\n\nOptions (see help for all):\n\n::\n\n    nbd -e python \u003cnotebook\u003e\n    nbd \u003cnotebook1\u003e \u003cnotebook2\u003e \u003cnotebook3\u003e\n    nbd \u003cnotebook\u003e --git-diff-option=\"--name-only\"\n\nBuild and install from sources\n------------------------------\n\nSource distribution:\n\n::\n\n    python setup.py sdist\n\nAfter building, install with pip:\n\n::\n\n    pip install dist/nbd-$version.tar.gz\n\nInstall in a virtual environment to avoid system pip issues.\n\nTutorial\n--------\n\nSee the tutorial in the ``demo/`` directory: `demo\ntutorial \u003cdemo/tutorial.rst\u003e`_.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flcary%2Fnbd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flcary%2Fnbd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flcary%2Fnbd/lists"}