diff options
Diffstat (limited to 'gnu/packages/jupyter.scm')
-rw-r--r-- | gnu/packages/jupyter.scm | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index ef68521b53..8c8c7b5347 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte@inria.fr> ;;; Copyright © 2022 Marius Bakke <marius@gnu.org> ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> +;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -491,6 +492,32 @@ for authoring custom addons.") Mathjax, the JavaScript display engine for mathematics.") (license license:bsd-3))) +(define-public python-comm + (package + (name "python-comm") + (version "0.2.2") + (source + (origin + (method git-fetch) ; no tests data in PyPi package + (uri (git-reference + (url "https://github.com/ipython/comm") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "18xsbpd8dgcfbc51xl59nlwaq7jnyzvgzjfj6psscv71894x4lg7")))) + (build-system pyproject-build-system) + (native-inputs + (list python-hatchling python-pytest python-setuptools-scm)) + (propagated-inputs + (list python-traitlets)) + (home-page "https://github.com/ipython/comm") + (synopsis "Python Comm implementation for the Jupyter kernel protocol") + (description + "This package provides a way to register a Kernel Comm implementation, as +per the Jupyter kernel protocol. It also provides a base Comm implementation +and a default CommManager that can be used.") + (license license:bsd-3))) + (define-public python-nbclient (package (name "python-nbclient") @@ -823,6 +850,63 @@ JupyterLab.") datasets across widgets.") (license license:bsd-3))) +(define-public python-papermill + (package + (name "python-papermill") + (version "2.6.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "papermill" version)) + (sha256 + (base32 "097ai2n7f72a7hya9qnds3f28cg70p8xdj2c3cwqymzx28cskqlz")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + ;; Do not bother testing Azure, AWS, and Google Cloud features. + '(list "--ignore=papermill/tests/test_abs.py" + "--ignore=papermill/tests/test_adl.py" + "--ignore=papermill/tests/test_gcs.py" + "--ignore=papermill/tests/test_s3.py"))) + (propagated-inputs (list python-aiohttp + python-ansicolors + python-click + python-entrypoints + python-nbclient + python-nbformat + python-pyyaml + python-requests + python-tenacity + python-tqdm)) + (native-inputs (list python-attrs + python-black + python-boto3 + python-botocore + python-bumpversion + python-check-manifest + python-codecov + python-coverage + python-ipython + python-ipywidgets + python-moto + python-notebook + python-pytest + python-pytest-cov + python-pytest-env + python-pytest-mock + python-recommonmark + python-requests + python-setuptools + python-tox + python-twine + python-wheel)) + (home-page "https://github.com/nteract/papermill") + (synopsis "Parameterize and run Jupyter and nteract Notebooks") + (description "Papermill is a tool for parameterizing, executing, and +analyzing Jupyter Notebooks.") + (license license:bsd-3))) + (define-public python-voila (package (name "python-voila") |