Skip to main content

A Waldiez JupyterLab extension.

Project description

@waldiez/jupyter

CI Build Coverage Status PyPI version

A Waldiez JupyterLab extension.

This extension is composed of a Python package named waldiez-jupyter for the server extension and a NPM package named @waldiez/jupyter for the frontend extension.

Quick Start

Using docker:

CONTAINER_COMMAND=docker # or podman
$CONTAINER_COMMAND run \
  --rm \
  -it \
  -p 10000:8888 \
  -v ${PWD}/notebooks:/home/user/notebooks \
  ghcr.io/waldiez/jupyter:latest

# with selinux and/or podman, you might get permission errors, so you can try:
$CONTAINER_COMMAND run \
  --rm \
  -it \
  -p 10000:8888 \
  -v ${PWD}/notebooks:/home/user/notebooks \
  --userns=keep-id \
  --security-opt label=disable ghcr.io/waldiez/jupyter:latest

Then open your browser at http://localhost:10000 and you should see the JupyterLab interface.

Optional environment variables for the container:

# no password or token by default
JUPYTER_PASSWORD=
JUPYTER_TOKEN=

Requirements

  • JupyterLab >= 4.0.0

Install

To install the extension, execute:

## if not already, install jupyter:
# pip install jupyter
pip install waldiez-jupyter
## you can now start jupyter lab:
# jupyter lab

Or from the repository:

# Note: node js and yarn are required to build the extension
pip install git+https://github.com/waldiez/jupyter

Uninstall

To remove the extension, execute:

pip uninstall waldiez_jupyter

Troubleshoot

If you are seeing the frontend extension, but it is not working, check that the server extension is enabled:

jupyter server extension list

If the server extension is installed and enabled, but you are not seeing the frontend extension, check the frontend extension is installed:

jupyter labextension list

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

waldiez_jupyter-0.1.14.tar.gz (546.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

waldiez_jupyter-0.1.14-py3-none-any.whl (299.3 kB view details)

Uploaded Python 3

File details

Details for the file waldiez_jupyter-0.1.14.tar.gz.

File metadata

  • Download URL: waldiez_jupyter-0.1.14.tar.gz
  • Upload date:
  • Size: 546.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for waldiez_jupyter-0.1.14.tar.gz
Algorithm Hash digest
SHA256 b7d61abe01111668efd00194291c2731284539275382ccc86e2bf6bc0c02ff69
MD5 0de7e1f51c349c2b2b40c819c0cea273
BLAKE2b-256 2d34bdfd7645976270aa06313af7dde2b16ac2ccb08e8d64d47d58c2e6bef434

See more details on using hashes here.

Provenance

The following attestation bundles were made for waldiez_jupyter-0.1.14.tar.gz:

Publisher: package.yaml on waldiez/jupyter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file waldiez_jupyter-0.1.14-py3-none-any.whl.

File metadata

File hashes

Hashes for waldiez_jupyter-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 c4337017bf244cf04e899d988a351530a08511f57d41bf339dc7a0f7b4e59dbb
MD5 9442e6408f3156cc10442730863e6942
BLAKE2b-256 77d393d7a09a5b932fbc454c5f27f9d3a2eed13393939ecc7e753096c9eae2c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for waldiez_jupyter-0.1.14-py3-none-any.whl:

Publisher: package.yaml on waldiez/jupyter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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