Nbstripout Versions Save

strip output from Jupyter and IPython notebooks

0.7.1

3 months ago
  • Fix regression where input file was truncated before reading (#190).

0.7.0

3 months ago
  • Drop support for Python 3.7 (end of life 2023-06-27), require Python 3.8.
  • Add support for Python 3.12.
  • Drop backwards compability with IPython.nbformat for IPython <4.
  • Rename cell ids to be sequential by default. Disable by passing --keep-id (@JasonJooste, #184).
  • Improve documentation for notebook and cell metadata stripping (#187).
  • Switch from pytest-flake8 to pytest-ruff.
  • Convert all text assets from rST to Markdown format.

0.6.2

3 months ago
  • Add --python option for nbstripout --install to allow overriding the Python interpreter specified in .git/config (@nobodyinperson, #181, #182)
  • Add option --keep-metadata-keys to keep specific metadata keys that are stripped by default (@davidxia, #177, #78)
  • Replace Cram as test runner for integration tests with a custom framework which also supports testing on Windows (@arobrien, #176, #178)
  • Use SystemExit instead of sys.exit and do not exit from functions (@janosh, #173)

0.6.1

5 months ago
  • Removed setup_requires and tests_require and no longer rely on pytest-runner for test execution but invoke pytest directly (#168)

0.6.0

1 year ago
  • Support for stripping init cells (@Pugio, #157)
  • Added --drop-tagged-cells="some tags" option (@boun, #161)
  • Renamed --strip-empty-cells to --drop-empty-cells
  • Dropped support for Python 3.5, added support for Python 3.10

0.5.0

2 years ago
  • Support only stripping outputs larger than a given size (cjblocker@, #135)
  • Support stripping output from Zeppelin Notebooks (ankitrokdeonsns@, #130)
  • Switch CI to GitHub actions (#151)
  • Support attributes file without leading path component (#155)

0.4.0

2 years ago
  • Add support for system wide installation, --system flag (@PLPeeters, #149)
  • Use ~ instead of $HOME for config dir (#136)
  • Document stripping kernelspec (#141)
  • Add support for removing empty cells (#131)
  • Create directory for attributes file if needed (#139)
  • Add support for stripping metadata keys containing periods (@baldwint, #143)
  • Strip collapsible headings by default (@rpytel1, #142)

0.3.10

2 years ago
  • Python 2.7 only release, to make pip install nbstripout work in Python 2.7 (previously, this was picking up 0.3.8 which is not Python 2.7 compatible)
  • Drop Python 3.4 support, add support for Python 3.7, 3.8
  • Windows compatibility: "" quote Python interpreter path (#115, @fcollonval)
  • Add --dry-run flag (#122)
  • Support specifying keep_output as a cell tag (#117, @scottcode)

0.3.9

3 years ago
  • Document Python 3 support only. Fail to install on Python 2 (#128, @casperdcl)
  • Drop support for Python 3.4 (end of life 2019-03-18)
  • Ignore warnings from nbformat.{read,write}
  • Support nbformat 2 notebooks without cell metadata
  • Add --extra-keys flag to pass extra keys to strip (#119)
  • Apply pre-commit hook to files of type Jupyter

0.3.8

3 years ago
  • Drop Python 2 support
  • Windows compatibility: "" quote Python interpreter path (#115, @fcollonval)
  • Add --dry-run flag (#122)
  • Support specifying keep_output as a cell tag (#117, @scottcode)
  • Improved error handling for the case where git is not installed (#124)
  • Nicer error message when input file is not found
  • Use universal newlines without conversion (#110, #126, @ooiM)
  • Strip execution timing from cell metadata (#118)
  • Document which metadata is stripped by default
  • Make --global commands work outside of git repository (#123)