Clean jupyter notebooks. Remove metadata and execution counts.
Project description
nbmetaclean
Pre-commit hook to clean Jupyter Notebooks metadata, execution_count and optionally output.
Pure Python, no dependencies.
Can be used as a pre-commit hook or as a command line tool.
Usage
Pre-commit hook
add to .pre-commit-config.yaml
:
repos:
- repo: https://github.com/ayasyrev/nbmetaclean
rev: 0.0.8
hooks:
- id: nbclean
name: nbclean
entry: nbclean
Command line tool
Install:
pip install nbmetaclean
Usage:
nbclean
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nbmetaclean-0.0.8.tar.gz
(13.2 kB
view hashes)
Built Distribution
Close
Hashes for nbmetaclean-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16e85278debad92de11ffa8cee8ef7ce1925af39f4acc8c9bfd716b1027ed3e0 |
|
MD5 | 1be2e68a48108ea62ab693155d2c2dea |
|
BLAKE2b-256 | 110e71cd5958ce94e63d2f8690bbb93a180f492a7b5177bc387cc7c8471ba969 |