Skip to main content

Control JupyterLab from Python Notebooks

Reason this release was yanked:

Updated release notes

Project description

Algovera JupyterLab Extension

This is a development repository adding Web3 extensions to JupyterLab.

Setup

conda create -n algolab -c conda-forge jupyterlab ipylab jupyter-packaging nodejs ipytree bqplot ipywidgets numpy

conda activate algolab

python -m pip install -e ".[dev]"

jupyter labextension develop . --overwrite

jlpm

jlpm run build

jupyter lab

Note: If you get an error at any point of the installation process, try running jupyter labextension install . in the metamask-extension/ directory.

To enable the ipylab extension, run the following:

# In the main directory (note, make sure you have ocean-lib and datasets installed)

pip install -r requirements.txt

# go to ipylab directory

cd ipylab/

# install dependencies

pip install -ve .

# install extension

jupyter labextension develop --overwrite .

# make sure you have all extensions ready by running

jupyter labextension list

# you should see something like this

ipylab v0.5.2 enabled OK
@jupyterlab-examples/main-menu v0.1.0 enabled OK
@jupyter-widgets/jupyterlab-manager v3.0.1 enabled OK (python, jupyterlab_widgets)

# if you don't have ipylab installed, `run jupyter labextension develop --overwrite .` again. Sometimes, the first time you run the command it will install jupyterlab-manager instead

# now you can run jupyterlab again and use the new extension

jupyter lab

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

algovera-0.1.0.tar.gz (870.3 kB view hashes)

Uploaded Source

Built Distribution

algovera-0.1.0-py3-none-any.whl (1.7 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page