Remove empty code and markdown cells from Jupyter notebooks (ideal for pre-commit hooks)
Project description
Usage with pre-commit
Add to your .pre-commit-config.yaml:
- repo: https://github.com/Drew5040/nbstrip-empty-cell
rev: v0.1.0
hooks:
- id: nbstrip-empty-cells
Then install the pre-commit hook in your local repository:
pre-commit install
You can also run the hook manually on all files:
pre-commit run --all-files
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nbstrip_empty_cells-0.1.0.tar.gz.
File metadata
- Download URL: nbstrip_empty_cells-0.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2edecdb644c8222e2252d5e01fc5ed98608905f8694336ecfa6af3873f0a0f12
|
|
| MD5 |
42fcb6b08cdc71fe18cb0d5c870e7f98
|
|
| BLAKE2b-256 |
d95fe26f4cfad93140b3dbca211ae655f47e784e3d6e892044f4feb7bebbc028
|
File details
Details for the file nbstrip_empty_cells-0.1.0-py3-none-any.whl.
File metadata
- Download URL: nbstrip_empty_cells-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08797b4a274a9ff7e9406e7b047a56c2cdd4f27cfc6d9e8e20be07a423d5f5dd
|
|
| MD5 |
d85ea700ae151e46e4532796b94e4c83
|
|
| BLAKE2b-256 |
fa07334f1f51e1f785248d6c8b42583b59df8a22135eb5cf1d94b188afe9b09a
|