nbdime VS nbstripout

Compare nbdime vs nbstripout and see what are their differences.

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
nbdime nbstripout
7 4
2,595 1,143
0.2% -
8.7 7.6
about 2 months ago about 1 month ago
TypeScript Python
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

nbdime

Posts with mentions or reviews of nbdime. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-18.
  • Stuff I Learned during Hanukkah of Data 2023
    5 projects | dev.to | 18 Dec 2023
    I remember hearing about nbdime and thinking it sounded useful, but I've never really needed it since I rarely use Jupyter in the first place. But then I made some changes to my Hanukkah of Data 2023 notebook to work with the follow-up "speed run" challenge (a new dataset and slightly tweaked clues), and the native Git diff was too noisy to be useful. nbdime came to the rescue! Here are the changes I had to make for days 2 and 3 during the speed run:
  • The Jupyter+Git problem is now solved
    7 projects | news.ycombinator.com | 19 Jul 2023
  • Ask HN: Are there any good Diff tools for Jupyter Notebooks?
    9 projects | news.ycombinator.com | 22 May 2022
    [5] ReviewNB for reviewing & diff'ing notebook PRs / Commits on GitHub

    Disclaimer: While I’m the author of last two (GitPlus & ReviewNB), I’ve represented the overall landscape in an unbiased way. I've been working on this specific problem for 3+ years & regularly talk to teams who use GitHub with notebooks.

    [1] https://nbdime.readthedocs.io

  • Notebooks suck: change my mind
    10 projects | /r/Python | 11 Feb 2022
  • What if Git worked with Programming Languages?
    17 projects | news.ycombinator.com | 27 Sep 2021
    Interesting they mentioned Jupyter Notebooks but not NBDime https://github.com/jupyter/nbdime which is a Jupyter plugin specifically to address this problem. Without it, diffing notebooks is not feasible.
  • Jupyter diff in Magit
    1 project | /r/emacs | 16 Jun 2021
    A bit off-topic but someone might know; I'm working with jupyter notebook files (ipynb) which are basically json files. Git diff is very noisy so there's nbdime which works great in the CLI. Is there a way to have Magit aware of its integration with git diff?
  • The Notepad++
    1 project | /r/ProgrammerHumor | 6 May 2021
    I use nbdime which allows you to ignore parts of a notebook (e.g. outputs) when diffing.

nbstripout

Posts with mentions or reviews of nbstripout. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-22.
  • Tips for using Jupyter Notebooks with GitHub
    5 projects | dev.to | 22 Aug 2022
    If you'd like to automatically remove empty / tagged cells or retroactively apply this filter to your git history, you can read the nbstripout documentation on GitHub.
  • Ask HN: Are there any good Diff tools for Jupyter Notebooks?
    9 projects | news.ycombinator.com | 22 May 2022
    I used something as a precommit hook in the past that remove plots and other rendered content and only kept text and code in git index. I'm almost sure it was https://github.com/kynan/nbstripout but it's been a while and I could be wrong.

    Once the hook was in place git diff worked well enough to not need any other diffing tool.

  • Notebooks suck: change my mind
    10 projects | /r/Python | 11 Feb 2022
    As far as versioning, I use nbstripout (notebook strip out) I think there are alternatives too.
  • NumPy 1.20 Released
    4 projects | news.ycombinator.com | 31 Jan 2021
    You can use it with source control, I do it for about 18 notebooks I use on a daily basis:

    https://github.com/kynan/nbstripout

What are some alternatives?

When comparing nbdime and nbstripout you can also consider the following projects:

jupytext - Jupyter Notebooks as Markdown Documents, Julia, Python or R scripts

vscode-jupyter - VS Code Jupyter extension

poetry-dynamic-versioning - Plugin for Poetry to enable dynamic versioning based on VCS tags

clerk - ⚡️ Moldable Live Programming for Clojure

nvim-treesitter-context - Show code context

pluggy - A minimalist production ready plugin system

webdiff - Two-column web-based git difftool

Jupyter Notebook (IPython) - Multi-user server for Jupyter notebooks

locust - "git diff" over abstract syntax trees

ploomber - The fastest ⚡️ way to build data pipelines. Develop iteratively, deploy anywhere. ☁️

unison - A friendly programming language from the future

Pluto.jl - 🎈 Simple reactive notebooks for Julia