Skip to main content

oceanumlab

Github Actions Status A Jupyterlab extension to interact with the Oceanum.io platform

This extension is composed of a Python package named oceanumlab for the server extension and a NPM package named oceanumlab for the frontend extension.

Requirements

  • JupyterLab >= 4.0

Install

To install the extension, execute:

pip install oceanumlab

Uninstall

To remove the extension, execute:

pip uninstall oceanumlab

Contributing

Development install

Note: You will need NodeJS 22.12 or later (or 20.19+) to build the extension package.

The jlpm command is JupyterLab's pinned version of yarn that is installed with JupyterLab. You may use yarn or npm in lieu of jlpm below.

# Clone the repo to your local environment
# Change directory to the oceanumlab directory
# Install package in development mode, with jupyter-builder for building the extension
pip install -e ".[dev]"
# Link your development version of the extension with JupyterLab
jupyter-builder develop . --overwrite
# Rebuild extension Typescript source after making changes
jlpm build

You can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.

# Watch the source directory in one terminal, automatically rebuilding when needed
jlpm watch
# Run JupyterLab in another terminal
jupyter lab

With the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).

By default, the jlpm build command generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:

jupyter lab build --minimize=False

Development uninstall

pip uninstall oceanumlab

In development mode, you will also need to remove the symlink created by jupyter-builder develop command. To find its location, you can run jupyter labextension list to figure out where the labextensions folder is located. Then you can remove the symlink named oceanumlab within that folder.

Testing the extension

Server tests

This extension is using Pytest for Python code testing.

Install test dependencies (needed only once):

pip install -e ".[test]"

To execute them, run:

pytest -vv -r ap --cov oceanumlab

Frontend tests

This extension is using Jest for JavaScript code testing.

To execute them, execute:

jlpm
jlpm test

Integration tests

This extension uses Playwright for the integration tests (aka user level tests). More precisely, the JupyterLab helper Galata is used to handle testing the extension in JupyterLab.

More information are provided within the ui-tests README.

Packaging the extension

See RELEASE

Release files for oceanumlab 4.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oceanumlab 4.7.0
File Size Uploaded
oceanumlab-4.7.0.tar.gz 1.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for oceanumlab 4.7.0
File Interpreter ABI Platform
oceanumlab-4.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 2.6 MB

Release files / oceanumlab-4.7.0.tar.gz

Download URL oceanumlab-4.7.0.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
f1068bebead511a7a4f3534e6c8920cd19ccd152d6a56069fc61fd64fed07fb8
BLAKE2b-256 checksum
How to use checksums
49ba0bf849d4e5075ad653fc891d186cf3fd73b3b187301300acda6e5c863d74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 15, 2026.

Transparency log

Release files / oceanumlab-4.7.0-py3-none-any.whl

Download URL oceanumlab-4.7.0-py3-none-any.whl
Size 1.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
b873550e3d87f9826c3b58694f2cac9949b6b69441c4ac2b099ff88e8e4a6a42
BLAKE2b-256 checksum
How to use checksums
047ae8c4f267b7e9c62a4adc39bc6ed7f174128a233123d097b00f9e6c8efbd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 15, 2026.

Transparency log

Release history Release notifications | RSS feed

4.9.0

2 release files

4.8.0

2 release files

4.7.2

2 release files

4.7.1

2 release files

This release

4.7.0 This release

2 release files

4.6.2

2 release files

4.6.1

2 release files

4.1.0

2 release files

4.0.3

2 release files

4.0.2

2 release files

4.0.1

2 release files

4.0.0

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.5

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page