nb-clean icon indicating copy to clipboard operation
nb-clean copied to clipboard

Clean Jupyter notebooks of outputs, metadata, and empty cells, with Git integration

Results 9 nb-clean issues
Sort by recently updated
recently updated
newest added

The metadata element in a notebook may include "reserved" `tags` list data that may be used to to modify the display of a cell in a live notebook UI or...

The filter `nb-clean add-filter --preserve-cell-metadata` cleans the python version at the end of the notebook. This causes a metadata misalignment between local git and github notebooks. ``` - "pygments_lexer": "ipython3",...

Add `--required` option to the filter subcommand. Also add `smudge = cat` to ensure that _dirty_ notebooks aren't deleted with `required`. - Now if `required = True` and the command...

Thanks for writing such a convenient tool! I personally would like it if we could have an option to add `required = True` to the git filter option. Optionally, I...

This is a draft implementation of --recursive to show the idea in code and get feedback from the author on willingness to merge a feature like this. If this is...

I would like support for recursive to have all the notebooks under a given folder to be considered for cleaning. `nb-clean clean --recursive banana.ipynb src` would clean both `banana.ipynb` and...

Some metadata tags are conventionally defined and may be used to modify the presentation of cells or add meaningful cell "tags". As such, in some circumstances such metadata may be...

Support this feature: ``` nb-clean clean --preserve-cell-outputs notebooks/* ``` It first will list all `.ipynb` files in `notebooks/`, then iteratively clean all the notebooks.

@srstevenson Thanks for this awesome repo. I am having some trouble cleaning notebooks with html/js inside. Below is the detailed error. Please kindly check it out :) ## System :...