gnu: Add python-nb-clean.

* gnu/packages/python-xyz.scm (python-nb-clean): New variable.
This commit is contained in:
Jelle Licht 2021-12-30 15:47:22 +01:00
parent 1cfb8be3a1
commit d91a5cf1ef
No known key found for this signature in database
GPG key ID: DA4597F947B41025

View file

@ -11855,6 +11855,27 @@ (define-public python-nbformat
Jupyter Notebook format and Python APIs for working with notebooks.")
(license license:bsd-3)))
(define-public python-nb-clean
(package
(name "python-nb-clean")
(version "2.1.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "nb-clean" version))
(sha256
(base32 "01qvk9n7rx15dhc23m8bj9bw5wdyxh6y18c5fm8hllmrd3ndsx14"))))
(build-system python-build-system)
(propagated-inputs (list python-nbformat))
(home-page "https://github.com/srstevenson/nb-clean")
(synopsis "Clean Jupyter notebooks for versioning")
(description "This package cleans Jupyter notebooks of cell execution
counts, metadata, outputs, and empty cells, preparing them for committing to
version control. It provides a Git filter to automatically clean notebooks
before they're staged, and can also be used with other version control
systems, as a command line tool, and as a Python library.")
(license license:isc)))
(define-public python-bleach
(package
(name "python-bleach")