Skip to main content

A JupyterLite server extension.

Project description

klowd_server_ext

Github Actions Status

A JupyterLite server extension.

Requirements

  • JupyterLite >= 0.1.0b15

Install

To install the extension, execute:

pip install klowd_server_ext

Then build your JupyterLite site:

jupyter lite build

Uninstall

To remove the extension, execute:

pip uninstall klowd_server_ext

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 klowd_server_ext directory
# Install package in development mode
python -m 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).

Development uninstall

pip uninstall klowd_server_ext

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 klowd_server_ext within that folder.

Packaging the extension

See RELEASE

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

klowd_server_ext-0.3.0.tar.gz (77.3 kB view details)

Uploaded Source

Built Distribution

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

klowd_server_ext-0.3.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file klowd_server_ext-0.3.0.tar.gz.

File metadata

  • Download URL: klowd_server_ext-0.3.0.tar.gz
  • Upload date:
  • Size: 77.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.9

File hashes

Hashes for klowd_server_ext-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9fb9a0ce012cf4f5b62b9d644c3ae7c402d6ab4213bf6d76693aee30bf33c445
MD5 0fafa9db17c13a9c11bcc62299d1660a
BLAKE2b-256 c41bb8d5eb37ee139bf2f32be45fe4e8bbea07c5e0fe67e6cb72955f7ab36bb7

See more details on using hashes here.

File details

Details for the file klowd_server_ext-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for klowd_server_ext-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f1d2b08159cc6959dfce2a2ca12be77f94ccb6754bf6e2d5b4d771e07e9329c
MD5 ee8b77f8b4e9930e00560fb4e844b468
BLAKE2b-256 a06895a1ef85e716095750926055a525e56cb4217bdd3d66f922a021bed09ce3

See more details on using hashes here.

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