jupyterlab-auth
v0.0.1
Published
JupyterLab Auth
Maintainers
Readme
🛡️ Jupyter Auth
Environment
conda deactivate && \
conda remove -y --all -n jupyter-auth
# Create your conda environment.
conda create -y \
-n jupyter-auth \
python=3.8 \
twine \
nodejs=14.5.0 \
yarn=1.22.5 \
cookiecutter
conda activate jupyter-auth
pip install jupyter_packaging# Install jupyterlab.
pip install jupyterlab==3.0.4
# ...or alternatively, clone and build jupyterlab from source.
git clone https://github.com/jupyterlab/jupyterlab --depth 1 -b master && \
cd jupyterlab && \
pip install -e . && \
jupyter lab build && \
cd ..pip install ipywidgets==7.6.0Develop
# Build the extension and link for dev in shell 1.
jupyter labextension develop --overwrite# List extensions.
jupyter labextension list
pip list | grep jupyter-auth# Run and watch the extension in shell 1.
yarn watch# Run and watch jupyterlab in shell 2.
# Look at the remote entry javascript, a webpack5 feature.
conda activate jupyter-auth && \
jupyter lab \
--watch \
--ServerApp.token= \
--ServerApp.jpserver_extensions="{'jupyter_auth': True}" \
./examples# Only if you have build jupyterlab from source.
# Run and watch jupyterlab in shell 2.
# Look at the remote entry javascript, a webpack5 feature.
conda activate jupyter-auth && \
jupyter lab \
--watch \
--dev-mode \
--ServerApp.token= \
--ServerApp.jpserver_extensions="{'jupyter_auth': True}" \
--extensions-in-dev-mode \
./examplesBuild
# Generate sourcemaps.
jupyter labextension build --development=True .
jupyter lab build --minimize=False# Do not generate sourcemaps.
jupyter labextension build .
jupyter lab buildPublish
yarn build:lib && \
npm publish --access publicpip install -e . && \
python setup.py sdist bdist_wheel && \
twine upload dist/*Use
conda deactivate && \
conda remove -y --all -n jupyter-auth-user
# Create your conda environment.
conda create -y \
-n jupyter-auth-user \
python=3.8 \
nodejs=14.5.0
conda activate jupyter-auth-user
pip install --pre jupyterlab==3.0.3pip install jupyterlab_widgets==1.0.0a6
jupyter labextension list
# Check the Extension Manager.
jupyter lab --notebook-dir=~/notebooks# https://pypi.org/project/jupyterlab-geojs/#history
pip search "jupyterlab extension"
pip search "JupyterLab3"pip install jupyter-auth
jupyter labextension list
jupyter lab --notebook-dir=~/notebooks