Nb-clean

Latest version: v4.0.1

Safety actively analyzes 714875 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

3.0.0

This major release drops support for Python 3.7, which reached end of life in June 2023.

2.4.0

This minor release adds support for selecting metadata fields to preserve when using `-m`/`--preserve-cell-metadata`, and now removes execution counts from cell outputs when using `-o`/`--preserve-cell-outputs`.

2.3.0

With this minor release, `nb-clean` will now expand and recurse into directories passed as arguments to the `check` and `clean` commands.

2.2.1

This releases adds a [pre-commit](https://pre-commit.com/) hook.

2.2.0

This release adds a `-o`/`--preserve-cell-outputs` flag to the `check`, `clean`, and `add-filter` subcommands which prevents cell outputs from being cleaned, in the case of `nb-clean check` and `nb-clean add-filter`, or causing the check to fail in the case of `nb-clean check`.

2.1.0

With this minor release `nb-clean` now checks for and cleans the language version from notebook metadata.

Page 2 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.