$npx skillfedfor your agent

nbstripout

Strips outputs from Jupyter and IPython notebooks

Worth itPyPI Version ControlReleased Feb 20261.9M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — nbstripout-0.9.1-py3-none-any.whl
v0.9.1 · released 2026-02-21 · Python >=3.10 · 1 runtime deps: nbformat

Yes. This is a stable, actively maintained tool with low install friction and a single lightweight dependency. It solves a real problem for teams using Jupyter notebooks in Git workflows. The MIT license is permissive, there are no known vulnerabilities, and the package is in the top 5000 by download volume. Install it if you work with notebooks in version control.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; nbformat must be installed as a runtime dependency.
  • Low friction: single runtime dependency (nbformat), pure Python wheel, and actively maintained with a recent release.
  • Requires Python 3.10 or later.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.

last release 2026-02-21 (174 days) · last repo commit 2026-04-11 · 1,476 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,885,518 downloads/mo, #3,465 on PyPI

Verify before relying

pip install nbstripout
nbstripout notebook.ipynb
# Or set up as a Git filter:
nbstripout --install
  • Whether the package handles all notebook formats (Zeppelin, standard Jupyter) equally well in practice.
  • Performance characteristics when processing large notebooks or many files in a repository.
Same gist for agents: .md · .json

What it is and what it does

nbstripout is a command-line tool that removes output cells and selected metadata from Jupyter and IPython notebooks. It reads a notebook file (or stdin), strips execution results and some metadata, and writes the cleaned version back to the original file or stdout. The tool is designed to be used as a Git filter or pre-commit hook, allowing developers to keep notebook output on disk while preventing it from being committed to version control. This reduces repository size and minimizes diffs when notebooks are re-executed.

The package supports multiple notebook formats including standard Jupyter notebooks (.ipynb) and Zeppelin notebooks (.zpln). It offers both direct file processing and integration with Git workflows through filter installation commands. It can operate on single files, multiple files, or recursively on directories, and includes dry-run and verification modes to preview changes before applying them.

Use it for

  • Set up a Git filter to automatically strip notebook output before commits, keeping repositories clean without manual intervention.
  • Use as a pre-commit hook in a data science project to ensure notebooks are committed without execution artifacts.
  • Retroactively clean output from existing notebooks in a repository using git filter-repo integration.
  • Process notebooks in a CI/CD pipeline to verify they can be stripped without errors before merging.
  • Strip output from notebooks before sharing them in pull requests to reduce diff noise and file size.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

This is a stable, actively maintained tool with low install friction and a single lightweight dependency. It solves a real problem for teams using Jupyter notebooks in Git workflows. The MIT license is permissive, there are no known vulnerabilities, and the package is in the top 5000 by download volume. Install it if you work with notebooks in version control.

Install

nbstripout on PyPI

Before you install

Low friction: single runtime dependency (nbformat), pure Python wheel, and actively maintained with a recent release. Requires Python 3.10 or later.

Requires Python 3.10 or later; nbformat must be installed as a runtime dependency.

License in practice

MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.

Quickstart

pip install nbstripout
nbstripout notebook.ipynb
# Or set up as a Git filter:
nbstripout --install

Verify before relying

  • Whether the package handles all notebook formats (Zeppelin, standard Jupyter) equally well in practice.
  • Performance characteristics when processing large notebooks or many files in a repository.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
nbformat
MaintenanceActively maintained 174 days since the last release
Last repo commit
First released
Downloads1,885,518 / month, #3,465 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: ConsoleFramework :: IPythonFramework :: JupyterIntended Audience :: DevelopersOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Version Control

Evidence: nbstripout-0.9.1-py3-none-any.whl

Tags

Capabilities
jupyter notebook output removalstrip jupyter cell outputgit filter jupyter notebooksclean ipython notebooknotebook version controljupyter pre-commit hookremove notebook execution results
Topics
jupytergit-integrationnotebook-tools
PyPI keywords
jupyternotebookipythongitfilterhooks

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “jupyter notebook output removal”

  • nbstripoutStrips output cells and metadata from Jupyter and IPython notebooks,…
  • execnbExecutes Jupyter notebook code and captures outputs without running a…
  • nbvalA pytest plugin that treats Jupyter notebooks as test files,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Version Control packages

setuptools-scm Worth it
PyPI · Libraries · released Jul 2026

Automatically extracts and manages Python package versions from git or Mercurial metadata instead of hardcoding them, and includes SCM-tracked files in source distributions.

permissive licensepure Python · 3.8+
134.2Mdownloads / mo
dulwich With conditions
PyPI · Version Control · released Jul 2026

Dulwich provides pure Python access to Git repositories—both local and remote—without requiring Git or native code to be installed, offering an alternative to calling Git directly.

Apache-2.0 OR GPL-2.0-or-laterpure Python · 3.10+
99.4Mdownloads / mo
setuptools-rust With conditions
PyPI · Version Control · released Jun 2026

setuptools-rust is a setuptools plugin that compiles and packages Python extensions written in Rust, using PyO3 or rust-cpython bindings.

MITpure Python · 3.9+
6.9Mdownloads / mo
pygit2 With conditions
PyPI · Version Control · released Aug 2026

pygit2 provides Python bindings to libgit2, enabling direct programmatic access to Git repository operations at the plumbing level without shelling out to the git command-line tool.

copyleftcompiled wheel · 3.11+
5.6Mdownloads / mo
poetry-dynamic-versioning Worth it
PyPI · Version Control · released Feb 2026

A Poetry plugin that automatically derives and injects version numbers from version control tags into your project during builds, using Dunamai to support multiple VCS systems.

Install it if you use Poetry 1.2.0+ and want to eliminate manual version management in your build workflow.

MITpure Python
4.0Mdownloads / mo
whatthepatch Worth it
PyPI · Software Development · released Nov 2024

Parses and applies patch files in multiple diff formats (unified, context, normal, ed, rcs) and from several source control systems (Git, SVN, CVS).

MITpure Python · 3.9+
2.6Mdownloads / mo

See also nb-clean · nbval · nbsphinx · jupytext · scrapbook · nbmake · nbqa · mkdocs-jupyter · git-filter-repo · jupyter-cache