This package was built using the jupyter-server-proxy
cookiecutter template.
(Optional) For testing:
This package executes the standard odannotation
command. This command assumes the odannotation
command is available in the environment's PATH
. For convenience, the tests include cases that assert outputs when running the odannotation
command from a docker container. If you don't need to run tests with this setup running in a docker container, then remove the tests/test_odannotation_docker.py
file or comment out the code in the file.
This test requires you to have a database instance available as a public endpoint or installed within the notebook container itself.
virtualenv -p python3 venv
source venv/bin/activate
pip install git+https://github.com/jisd2089/jupyter-odannotation-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
-
Start Jupyter Classic or Jupyter Lab
-
Click on the
odannotation
icon from the Jupyter Lab Launcher or theodannotation
item from theNew
dropdown in Jupyter Classic.
BSD 3-Clause