Integrates LiberTEM in your Jupyter environment.
- Python 3.6+
- Jupyter Notebook 6.0+
- JupyterLab 2.1+
This package executes the libertem-server
command. This command assumes the libertem-server
command is available in the environment's $PATH. You might need to adjust the file launch_libertem.sh to ensure this.
LiberTEM is started without the need for authentication. Everyone who has access to the system's local ports has unlimited access to a running LiberTEM platform. Be aware of that!
LiberTEM is an open source platform for high-throughput distributed processing of large-scale binary data sets and live data streams using a modified MapReduce programming model. The current focus is pixelated scanning transmission electron microscopy (STEM) and scanning electron beam diffraction data.
Jupyter-Server-Proxy lets you run arbitrary external processes (such as LiberTEM) alongside your notebook, and provide web access to them.
virtualenv -p python3 venv
source venv/bin/activate
pip install git+https://github.com/jhgoebbert/jupyter-libertem-proxy.git
For Jupyter Classic, activate the jupyter-server-proxy extension:
jupyter serverextension enable --sys-prefix jupyter_server_proxy
For Jupyter Lab, install the @jupyterlab/server-proxy extension:
jupyter labextension install @jupyterlab/server-proxy
jupyter lab build
Click on the LiberTEM icon from the Jupyter Lab Launcher or the LiberTEM item from the new dropdown in Jupyter Classic.
Connect to your database as instructed in the Quickstart section.
This package calls libertem-server
. Please read the LiberTEM manual if you want to now the details.
You have to modify setup_libertem()
in jupyter_libertem_proxy/__init__.py
for change.
- LiberTEM
- jupyter-server-proxy
BSD 3-Clause