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.6.1

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.6.1
File Size Uploaded
oceanumlab-4.6.1.tar.gz 1.4 MB Details

Built distribution (wheel)

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

Total release size: 2.5 MB

Release files / oceanumlab-4.6.1.tar.gz

Download URL oceanumlab-4.6.1.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
b0821552ad6f5999be053ef76d9971f22f1d19563c5cf65520b8feaacaf86621
BLAKE2b-256 checksum
How to use checksums
d5d5c3119fa365f4319d410514e7875c57391c3a3817c57b850afa4686b093c7
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 14, 2026.

Transparency log

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

Download URL oceanumlab-4.6.1-py3-none-any.whl
Size 1.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
68733cbfc0c5c37745202cbbf62907f6db1b108e390a38956bca67eea7fc88a3
BLAKE2b-256 checksum
How to use checksums
a4da0f0cf60fc1c468d958c9d0952319aea2d252dac4d0b97670efb2ff04b337
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 14, 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

4.7.0

2 release files

4.6.2

2 release files

This release

4.6.1 This release

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