|
| 1 | + |
| 2 | + |
1 | 3 | # jupyter-nestdesktop-proxy
|
2 |
| -Jupyter extensions for running a NEST Desktop proxy |
| 4 | +Integrate NEST Desktop in your Jupyter environment for an fast, feature-rich and easy to use remote desktop in the browser. |
| 5 | + |
| 6 | +## Requirements |
| 7 | +- Python 3.6+ |
| 8 | +- Jupyter Notebook 6.0+ |
| 9 | +- JupyterLab >= 3.x |
| 10 | +- jupyter-server-proxy >= 3.1.0 |
| 11 | + |
| 12 | +This package executes the `nest-desktop` command. This command assumes the `nest-desktop` command is available in the environment's $PATH. |
| 13 | + |
| 14 | +## Security |
| 15 | +Be aware, [NEST Desktop](https://nest-desktop.readthedocs.io) does not encrypt the communication and/or requires password to connect. |
| 16 | + |
| 17 | +### NEST Desktop |
| 18 | +[NEST Desktop](https://nest-desktop.readthedocs.io) is a web-based GUI application for NEST Simulator, an advanced simulation tool for the computational neuroscience. |
| 19 | + |
| 20 | +### Jupyter-Server-Proxy |
| 21 | +[Jupyter-Server-Proxy](https://jupyter-server-proxy.readthedocs.io) lets you run arbitrary external processes (such as Xpra-HTML5) alongside your notebook, and provide authenticated web access to them. |
| 22 | + |
| 23 | +## Install |
| 24 | + |
| 25 | +#### Create and Activate Environment |
| 26 | +``` |
| 27 | +virtualenv -p python3 venv |
| 28 | +source venv/bin/activate |
| 29 | +``` |
| 30 | + |
| 31 | +#### Install jupyter-nestdesktop-proxy |
| 32 | +``` |
| 33 | +pip install git+https://github.com/FZJ-JSC/jupyter-nestdesktop-proxy.git |
| 34 | +``` |
| 35 | + |
| 36 | +#### Enable jupyter-nestdesktop-proxy Extensions |
| 37 | +For Jupyter Classic, activate the jupyter-server-proxy extension: |
| 38 | +``` |
| 39 | +jupyter serverextension enable --sys-prefix jupyter_server_proxy |
| 40 | +``` |
| 41 | + |
| 42 | +For Jupyter Lab, install the @jupyterlab/server-proxy extension: |
| 43 | +``` |
| 44 | +jupyter labextension install @jupyterlab/server-proxy |
| 45 | +jupyter lab build |
| 46 | +``` |
| 47 | + |
| 48 | +#### Start Jupyter Classic or Jupyter Lab |
| 49 | +Click on the NEST Desktop icon from the JupyterLab Launcher or the NEST Desktop item from the New dropdown in Jupyter Classic. |
| 50 | +Connect to your database as instructed in the Quickstart section. |
| 51 | + |
| 52 | +## Configuration |
| 53 | +This package calls `nest-desktop` with settings. Please read the [NEST Desktop](https://nest-desktop.readthedocs.io/en/latest/user/index.html) if you want to know the details. |
| 54 | +You have to modify `setup_nestdesktop()` in `jupyter_nestdesktop_proxy/__init__.py` for change. |
| 55 | + |
| 56 | +## Credits |
| 57 | +- NEST Desktop |
| 58 | +- jupyter-server-proxy |
| 59 | + |
| 60 | +## License |
| 61 | +BSD 3-Clause |
0 commit comments