guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

75/361: gnu: Add python-nbclassic.


From: guix-commits
Subject: 75/361: gnu: Add python-nbclassic.
Date: Thu, 21 Nov 2024 06:28:52 -0500 (EST)

sharlatan pushed a commit to branch python-team
in repository guix.

commit 23c1a47d51e1cdc31d3a7ce4451a536cbb4bb212
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon May 6 22:55:42 2024 +0200

    gnu: Add python-nbclassic.
    
    * gnu/packages/jupyter.scm (python-nbclassic): New variable.
    
    Change-Id: I8be60400df0cb54284c5b0d40d383c95591016c0
---
 gnu/packages/jupyter.scm | 50 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index b401e1234d..86d4721801 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -53,6 +53,56 @@
   #:use-module (gnu packages serialization)
   #:use-module (gnu packages version-control))
 
+(define-public python-nbclassic
+  (package
+    (name "python-nbclassic")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "nbclassic" version))
+       (sha256
+        (base32 "1qrhzazq10dz64y9mawr3ns595fsdhrj1wvbb42xhmcl66r1xq8a"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs (list python-argon2-cffi
+                             python-ipykernel
+                             python-ipython-genutils
+                             python-jinja2
+                             python-jupyter-client
+                             python-jupyter-core
+                             python-jupyter-server
+                             python-nbconvert
+                             python-nbformat
+                             python-nest-asyncio
+                             python-notebook-shim
+                             python-prometheus-client
+                             python-pyzmq
+                             python-send2trash
+                             python-terminado
+                             python-tornado-6
+                             python-traitlets))
+    (native-inputs (list python-coverage
+                         python-nbval
+                         python-jupyter-packaging
+                         python-pytest
+                         python-pytest-cov
+                         python-pytest-jupyter
+                         python-pytest-tornasync
+                         python-requests
+                         python-requests-unixsocket
+                         python-testpath))
+    (home-page "https://github.com/jupyter/nbclassic";)
+    (synopsis "Jupyter Notebook as a Jupyter Server extension")
+    (description "NbClassic provides a backwards compatible Jupyter Notebook
+interface that you can install side-by-side with the latest versions: That
+way, you can fearlessly upgrade without worrying about your classic extensions
+and customizations breaking.  Because NbClassic provides the classic interface
+on top of the new Jupyter Server backend, it can coexist with other frontends
+like JupyterLab and Notebook 7 in the same installation.  NbClassic preserves
+the custom classic notebook experience under a new set of URL endpoints, under
+the namespace @code{/nbclassic/}.")
+    (license license:bsd-3)))
+
 (define-public python-notebook-shim
   (package
     (name "python-notebook-shim")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]