NBDIFF-WEB(1)
π NBDIFF-WEB(1) π
okay so bestie, welcome to nbdiff-web β it lives in the User Commands section of the manual, and it is literally the diff tool for Jupyter notebooks. yes, the one you've been wanting. no cap.
β¨ NAME β¨
nbdiff-web β compute the difference between two Jupyter notebooks π¦
πΈ DESCRIPTION πΈ
Here's how you call her, exactly as she comes:
usage: nbdiff-web [-h] [--version] [--config]
[--log-level {DEBUG,INFO,WARN,ERROR,CRITICAL}] [-p PORT] [-b
BROWSER] [--persist] [--ip IP] [-w WORKDIRECTORY] [--base-url
BASE_URL] [--show-unchanged] [--identical-lines-margin
IDENTICAL_LINES_MARGIN] [-s] [-o] [-a] [-m] [-i] [-d] [base]
[remote] [paths ...]
It's the difftool for Nbdime. that's the whole vibe. π
π positional arguments π
These are the lil cuties you hand over without a flag in front of them:
baseβ the base notebook filename OR a base git-revision. either one, she's flexible. πremoteβ the remote modified notebook filename OR a remote gitrevision. yes, "gitrevision" is one word here, that's how she spells it, we don't argue. πpathsβ filter diffs for git-revisions based on path. only matters when you're doing the git-revision thing. π
π₯ OPTIONS π₯
the main character section. buckle up, she has range.
-h,--helpβ show this help message and exit. classic, iconic, always there for you. π«Ά--versionβ show program's version number and exit. one number, then she's gone. π¨--configβ list the valid config keys and their current effective values. like a vibe check for your settings. β¨--log-level {DEBUG,INFO,WARN,ERROR,CRITICAL}β set the log level by name. pick your volume:DEBUG,INFO,WARN,ERROR, orCRITICAL. π-p,--port PORTβ specify the port you want the server to run on. default is0, which means random. she'll pick one, she's got taste. π²-b,--browser BROWSERβ specify the browser to use, to override the system default. yes you can force her hand on this. π--persistβ prevent server shutting down on remote close request (when these would normally be supported). she stays. π--ip IPβ specify the interface to listen to for the web server.
β οΈ NOTE: setting this to anything other than127.0.0.1/localhostmight comprimise the security of your computer. use with care! (yes, "comprimise" β we're quoting her exactly, the typo is canon, do NOT come for her π)
-w,--workdirectory WORKDIRECTORYβ specify the working directory you want the server to run from. default is the actualcwdat program start. π--base-url BASE_URLβ the base URL prefix under which to run the web app. π¦--show-unchangedβ show unchanged cells by default. sometimes you want the whole picture, and that's valid. π--identical-lines-margin IDENTICAL_LINES_MARGINβ margin for collapsing identical lines in editor; set to-1to deactivate. πΈ
π§ ignorables π§
set which parts of the notebook (not) to process. this is the "choose your own adventure" section, and honestly? obsessed.
each one of these comes as a pair β one side processes, one side ignores:
-s,--sources,-S,--ignore-sourcesβ process/ignore sources. π-o,--outputs,-O,--ignore-outputsβ process/ignore outputs. π€-a,--attachments,-A,--ignore-attachmentsβ process/ignore attachments. π-m,--metadata,-M,--ignore-metadataβ process/ignore metadata. π·οΈ-i,--id,-I,--ignore-idβ process/ignore identifiers. π-d,--details,-D,--ignore-detailsβ process/ignore details not covered by other options. the catch-all, the "everything else" bucket. ποΈ
lowercase = do it, uppercase = skip it. iykyk. π
and that's the whole page, bestie β nothing skipped, nothing faked, every flag accounted for. π«Ά
signing off: this was nbdiff-web version 4.0.4, dated February 2026, straight from the NBDIFF-WEB(1) page. mwah. πβ¨
π¦ where this page comes from
- fedora 43: python3-nbdime 4.0.4-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND LicenseRef-Fedora-Public-Domain
- fedora 44: python3-nbdime 4.0.4-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND LicenseRef-Fedora-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms