Develop web apps from Python notebooks with Mercury directly in JupyterLab.
To install the extension, execute:
pip install mercury_appOpen a notebook as standalone dashboard:
python -m mercury_app <path_to_notebook_file>To open the example:
python -m mercury_app example.ipynbWhen you open a dashboard,
- All cells will be rendered in the background.
- The notebook will be rendered as read-only with dashboard controller widgets in the left sidebar.
When changing a controller widget value, all cells below the controller will be re-executed (including the cells with controllers).
To remove the extension, execute:
pip uninstall mercury_app