Skip to main content

OGC Build Status:

Build

MAAP Algorithms Jupyter Extension

A JupyterLab extension.

Requirements

  • JupyterLab >= 4.4.0

Install

To install the extension, execute:

pip install maap_algorithms_jupyter_extension

Uninstall

To remove the extension, execute:

pip uninstall maap_algorithms_jupyter_extension

Contributing

Development install

Note: You will need NodeJS 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 maap_algorithms_jupyter_extension directory
# Install package in development mode
pip install -e "."
# Link your development version of the extension with JupyterLab
jupyter labextension 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 maap_algorithms_jupyter_extension

In development mode, you will also need to remove the symlink created by jupyter labextension 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 maap_algorithms_jupyter_extension within that folder.

For PRs, if it fails the lint check, run jlpm format

Metadata

Release files for maap-algorithms-jupyter-extension 1.0.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 maap-algorithms-jupyter-extension 1.0.1
File Size Uploaded
maap_algorithms_jupyter_extension-1.0.1.tar.gz 3.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for maap-algorithms-jupyter-extension 1.0.1
File Interpreter ABI Platform
maap_algorithms_jupyter_extension-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.4 MB

Release files / maap_algorithms_jupyter_extension-1.0.1.tar.gz

Download URL maap_algorithms_jupyter_extension-1.0.1.tar.gz
Size 3.9 MB
Tags Source
SHA-256 checksum
How to use checksums
c940c8a8947573600c0d231425b46a6a66c91f030ad6c9665faa1ca1e44bbe31
BLAKE2b-256 checksum
How to use checksums
48fd196e6838f5ded80b58e859c7babd9f56d58834a37b5bd9512cf5f4cf8171
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / maap_algorithms_jupyter_extension-1.0.1-py3-none-any.whl

Download URL maap_algorithms_jupyter_extension-1.0.1-py3-none-any.whl
Size 7.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a4329aad5e628e09b5983653ab691d3cab93a91ae8a7da043726362aa69405e9
BLAKE2b-256 checksum
How to use checksums
596d277695d605deab68cd02f7d33a33210349b0c81261caf5d3dd898887d23b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

0.5.1

2 release files

0.4.0

2 release files

0.3.10

2 release files

0.3.9

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

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

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