Skip to main content

ITables resources as a Jupyter Server Extension.

Project description

A (tentative) Jupyter Lab extension for itables

This extension exposes the jquery and datatables.net libraries as static libraries in Jupyter Lab.

The purpose of doing this is to allow the itables package to have an offline mode in Jupyter Lab.

Install it in the Python environment you use to launch Jupyter Lab with:

pip install jupyterlab-itables==0.1.0a0

Then relaunch Jupyter Lab with

jupyter lab

Assuming that Jupyter Lab is running on port 8888, you will be able to access the static files at e.g.

http://localhost:8888/static/itables/jquery/README.md

How to develop this extension

You can create a minimal Jupyter Lab environment with

mamba env create --file environment.yml

or update it with

mamba env update --file environment.yml

Activate that environment with

conda activate jupyterlab_itables-dev

Then build the extension in development mode with

pip install -ve .

In development mode the extension needs to be enabled manually with:

jupyter server extension enable --py jupyterlab_itables

How to release a new version manually

Clean the project files with

rm -rf node_modules jupyterlab_itables/static dist build package-lock.json

Upgrade the version number in setup.py, then:

python setup.py sdist bdist_wheel

Check the size and the contents of the .tar.gz file in the dist folder, and then upload it to pypi with

twine upload

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

jupyterlab-itables-0.1.0a0.tar.gz (451.8 kB view details)

Uploaded Source

File details

Details for the file jupyterlab-itables-0.1.0a0.tar.gz.

File metadata

  • Download URL: jupyterlab-itables-0.1.0a0.tar.gz
  • Upload date:
  • Size: 451.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.4

File hashes

Hashes for jupyterlab-itables-0.1.0a0.tar.gz
Algorithm Hash digest
SHA256 0317bf29c83370508d399d8309b5c7734988d4674d27547d14b9fbf30d4ce38c
MD5 1c2d02f3cd0dec43906a3643492f14e5
BLAKE2b-256 acc1e4aa207bd42188f599dd97ac1b8080a6b103f4096dc301092c30b6852fdd

See more details on using hashes here.

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