https://github.com/almarklein/jupyter_app
Run Jupyter lab as a desktop app
https://github.com/almarklein/jupyter_app
Last synced: about 1 year ago
JSON representation
Run Jupyter lab as a desktop app
- Host: GitHub
- URL: https://github.com/almarklein/jupyter_app
- Owner: almarklein
- License: bsd-2-clause
- Created: 2018-02-27T13:26:29.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-27T20:40:41.000Z (about 8 years ago)
- Last Synced: 2024-09-14T12:53:18.209Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 12
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
jupyter_app
===========
Run Jupyter lab as a desktop app.
Installation
------------
.. code-block:: none
$ pip install jupyter_app
Additionally, you need Firefox installed,
or download `NW.js `_ to your downloads folder.
Usage
-----
.. code-block:: none
$ jupyter_app
Select a specific app runtime (see
`docs `_):
.. code-block:: none
$ jupyter_app --webruntime=nw-app
How it works
------------
The ``jupyter_lab`` command starts a normal Jupyterlab server, but instead
of launching a brower tab to connect to it, it launches a browser window
that is made to look like a desktop app (including icon, process name, etc.).
When the window is closed, the server shuts down. This uses the
`webruntime `_ module.
Why?
----
Because it was easy to do with ``webruntime``. I only later found out that Jupyter already has a `jupyter_app `_.