# kynan/nbstripout

strip output from Jupyter and IPython notebooks

Repository: https://github.com/kynan/nbstripout
Canonical: https://ross.abutalabs.com/products/nbstripout
Language: Python
License: NOASSERTION
License Family: other
Topics: jupyter, jupyter-notebook, ipython, ipython-notebook, git, filter, hooks, hacktoberfest
Last push: 2026-04-11T18:16:00+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 76, release rhythm 59, longevity 100
- inputs: {"age_days": 4008, "days_push": 144, "days_rel": 193, "gap_med": 48.0, "n_releases_24m": 5}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1477, forks 102 (observed 2026-08-28T04:04:50.355892+00:00)

## What it is
A command-line tool that strips output and some metadata from Jupyter, IPython, and Zeppelin notebooks. It is designed to be used as a Git filter or pre-commit hook so notebook outputs are not committed to version control.

## Use cases
- strip output from jupyter notebooks before committing to git
- set up a git filter to keep notebook outputs out of version control
- reduce diff noise and file size for committed ipynb files
- clean notebook outputs as a pre-commit hook
- clear all output from notebooks from the command line
- strip outputs from zeppelin notebooks

## When to choose
- you commit Jupyter notebooks to Git but don't want to track outputs or execution metadata
- you want to minimize diffs and repository size caused by notebook outputs
- you need an automated Git filter or pre-commit hook for notebook cleaning

## When to avoid
- you want to keep notebook outputs in version control for reproducibility or sharing results
- you need to execute or convert notebooks rather than clean them
- you're still on Python 2.7 and can't use the current versions

## Facets
- artifact type: cli-tool
- maturity: active
- function: developer-tools, version-control, cli
- domain: developer-tools, version-control, data-science
- platform: cli, python, cross-platform
- tags: jupyter, git-filter, pre-commit-hook, notebook-cleaning

## Member repositories
- kynan/nbstripout (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:50.355892+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:34:24.786085+00:00, confidence not recorded.
  - readme: https://github.com/kynan/nbstripout (fetched 2026-08-28T04:04:50.355892+00:00, sha a91464a1a6b3)
  - registry_pypi: https://pypi.org/pypi/nbstripout/json (fetched 2026-08-29T11:41:29.644084+00:00, sha c8f2642ee9fd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
