Skip to main content

A Lua kernel for JupyterLite, powered by Xeus

Project description

jupyterlite-xeus-lua-kernel

Github Actions Status

A Lua kernel for JupyterLite running in the browser.

jupyterlite-xeus-lua

Requirements

  • JupyterLite >= 0.1.0a14

Install

To install the extension, execute:

pip install jupyterlite_xeus_lua

Then build your JupyterLite site:

jupyter lite build

Uninstall

To remove the extension, execute:

pip uninstall jupyterlite_xeus_lua

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 jupyterlite_xeus_lua 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 run 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 run 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 jupyterlite_xeus_lua

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 jupyterlite-xeus-lua 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

jupyterlite-xeus-lua-0.2.0.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

jupyterlite_xeus_lua-0.2.0-py3-none-any.whl (2.2 MB view details)

Uploaded Python 3

File details

Details for the file jupyterlite-xeus-lua-0.2.0.tar.gz.

File metadata

  • Download URL: jupyterlite-xeus-lua-0.2.0.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for jupyterlite-xeus-lua-0.2.0.tar.gz
Algorithm Hash digest
SHA256 13a4b008a6903166a20dc8b802dbf137d557012c5b54f75e7ae18f2a5c76f11c
MD5 e994749b57f0cd2c23241447181d57d3
BLAKE2b-256 02bb7e024da8ad35f068c35aee3a3060981e2f7cd487181d5373255306b8db8f

See more details on using hashes here.

Provenance

File details

Details for the file jupyterlite_xeus_lua-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: jupyterlite_xeus_lua-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for jupyterlite_xeus_lua-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b447573224db928bd024f62b7324fe3439aa0c5c37d7ff0a8a347753c3893f6
MD5 0e43ce1af3b61305decb3ef32f3653bf
BLAKE2b-256 40816ed6fb970886309eb8525a23461c946be3aa3dc71ac9370b696c1db7397d

See more details on using hashes here.

Provenance

Supported by

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